3 ms·
> It allows programs written for Linux to run under Microsoft Windows. No, at its core it's a port of GCC to MS-DOS (not Windows); it has no compatibility for
by cesarb 3y ago
> It allows programs written for Linux to run under Microsoft Windows.
No, at its core it's a port of GCC to MS-DOS (not Windows); it has no compatibility for Linux programs other than by virtue of both using the same compiler (GCC). If the program uses more than the standard C or C++ library, there's a good chance it won't compile unless it's ported to use what's available in MS-DOS. Even basic things such as process management (fork and so on) are non-existent in DJGPP, and unless you're running in a DOS window within Windows 9x (which makes available the LFN API to DOS applications), you're limited to the classic case-insensitive 8.3 filenames (which trip programs designed for Unix-style systems more often than you'd think).