DJGPP
This article needs additional citations for verification. Please help improve this article by adding reliable references. Unsourced material may be challenged and removed. (July 2009) |
File:Djgpp logo.svg | |
---|---|
File:GCC DJGPP Windows.png The DJGPP environment, utilizing GCC | |
Developer(s) | DJ Delorie |
Stable release | 2.0.3p2 / June 10, 2002 |
Operating system | DOS and Windows |
Type | Compiler |
License | GNU GPL |
Website | www.delorie.com/djgpp |
DJGPP (DJ's GNU Programming Platform[1]) is a 32-bit C/C++/ObjC/ObjC++/Ada/Fortran development suite for 386+ PCs that runs under DOS or compatibles. It is guided by DJ Delorie, who started the project in 1989. It is a port of the popular gcc compiler, as well as many other GNU utilities such as bash, find, tar, ls, mv, awk, sed, and ld to DPMI (DOS Protected Mode Interface). It uses a flat memory model, where code and data segments are coincident. Additional segments can be accessed indirectly.
Most notably the original Quake for DOS was compiled with DJGPP, as well as other programs[2] such as p7zip, Vim, BIEW, UPX, NASM, Perl, and NetHack.
Compatibility
DJGPP presents the programmer an interface which is compatible with the ANSI C and C99 standards, unofficial DOS standards, and the POSIX UNIX standard. Compiled binaries are long file name-aware and handle such filenames under Windows 9x+ by default. TSRs to support LFNs under Windows NT 4 or pure DOS are available.
Whilst DJGPP runs in protected mode, it has a 16-bit stub which performs the switch into protected mode. Because the x86-64 versions of Windows lack support for 16-bit programs, DJGPP cannot be used under these systems, except through emulation (e.g. DOSBox) or similar (e.g. DOSEMU). This problem arises because x86-64 processors in long mode do not support the virtual 8086 mode used to run 16-bit code in 32-bit x86 processors.
See also
- EMX - a POSIX implementation for DOS (and OS/2, too)
- Cygwin - a UNIX compatibility layer with many ported libraries and applications
- MinGW - a port of the GNU toolchain for Windows, designed to require minimal runtime support
- GnuWin32
References
External links
Unofficial or unfinished ports
- DJGPP 2.04 Beta 1 Release webpage
- last RHIDE snapshot (discontinued)
- unofficial DOS ports of GDB 6.3, 6.4, 6.8
File:HelloWorld.svg | This programming language-related article is a stub. You can help Wikipedia by expanding it. |
cs:DJGPP de:DJGPP es:DJGPP fr:DJGPP it:DJGPP pl:DJGPP ru:DJGPP
If you like SEOmastering Site, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...
- Pages with broken file links
- Articles needing additional references from July 2009
- Articles with invalid date parameter in template
- All articles needing additional references
- C compilers
- DOS extenders
- Free compilers and interpreters
- Open source integrated development environments
- Programming language topic stubs