DJGPP
From Encoresoup - The Ultimate Guide to Free/Open Source Software
Jump to: navigation, search
DJGPP


Developer:DJ Delorie
Stable release:

2.0.3p2  (10 June 2002)

Operating System:DOS and Windows
Website:http://www.delorie.com/djgpp/
Genre:Compiler
License:GPL
This article contains content from the Wikipedia article:
DJGPP
history contributors

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

Most notably the original Quake for DOS was compiled with DJGPP, as well as other programs[1] such as p7zip, Vim, BIEW, UPX, NASM, Perl, and NetHack.

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 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. using DOSBox). 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.

[edit] Official Links

[edit] Unofficial or Unfinished Ports

[edit] 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
  • GnuWin32

[edit] References



Retrieved from "http://encoresoup.net/DJGPP"
Personal tools

Free As In Freedom [Amazon] Credit Card Size Digital Video Player [ThinkGeek] Bluetooth Retro Handset [ThinkGeek]