DJGPP

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Pegship (talk | contribs) at 00:33, 19 December 2007 (stub sort). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

DJGPP
Developer(s)DJ Delorie
Stable release
2.0.3p2 / June 10, 2002
Repository
Operating systemDOS and Windows
TypeCompiler
LicenseGPL
Websitewww.delorie.com/djgpp/

DJGPP (DJ's Gnu Programming Platform) 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.

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. Currently, no x86-64 version of Windows supports 16-bit programs (or even programs with 16-bit stubs, like DJGPP) except via emulation.

Official Links

Unofficial or Unfinished Ports

Windows (non-DOS) Ports of the GNU Toolchain

  • 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