DJGPP

From Wikipedia, the free encyclopedia

DJGPP

The DJGPP environment, utilizing GCC
Developer: DJ Delorie
Latest release: 2.0.3p2 / June 10, 2002
OS: DOS and Windows
Use: Compiler
License: GPL
Website: www.delorie.com/djgpp/

DJGPP is a 32-bit C/C++/ObjC/Ada/Fortran development suite for 386+ PCs that runs under DOS (or any OS that runs DOS .EXEs, such as Microsoft Windows or IBM OS/2). It was developed 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 cp, ls, mv, awk, sed, and ld to DOS DPMI (DOS Protected Mode Interface). It uses a flat memory model, where code and data segments are coincident. Additional segments can be accessed indirectly.

Contents

[edit] 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 LFN-aware and handle such filenames under Win9x+ by default. TSRs to support LFNs under Windows NT 4 or pure DOS are available. Currently, no x86-64 version of Windows supports 16-bit programs (or even programs with 16-bit stubs, like DJGPP) except via emulation.

[edit] See also

  • DOSBox a free, GPL DOS emulator for x86 and non-x86 computers
  • FreeDOS a free, GPL MS-DOS compatible OS for x86 computers

[edit] Official links

[edit] Unofficial or unfinished ports

[edit] Non-DOS ports of GNU toolchain