Recent Changes - Search:

What’s new?

Categories / Pages

Discussion

Wiki

What’s important?

EDR-DOS

FreeDOS

Wiki Pages / Categories: DRDOS, DOS | Page Actions: View Edit History Print

DJGPP

DRDOS DOS

1.  About

This is a port of GNU’s GCC/G++ and Fortran95 compiler to DOS. Very good environment for porting Linux’s programs to DOS. It is a 32-bit compiler and uses a DPMI host (“server”) (“raw” DPMI, use CWSDPMI or HDPMI32) so it can use all of your RAM.

2.  DJGPP + CWSDPMI

The latest version of CWSDPMI with support of SSE is from 2008 and can be downloaded from:

3.  DJGPP + HX-Extender

How can you use HX-Extender with DJGPP? Here japheth.de/HX/d… you will find some informations (DJGPP 2.03 only, experimental). Applies 2 hacks: changes executable format from COFF to PE, and memory model from non-ZERO-based to zero-based. Note: there is now also support for fully standalone executables: Minimal PE loader for “native” DOS PE/PX executables (no DLL support) with built-in HDPMI32, named LOADPEX (35 KB).

4.  Support of ELF and DXE3

Using of ELF in DJGPP instead of COFF is possible! ELF is a common standard file format for executables, object code, shared libraries, and core dumps. So support of shared libraries in DJGPP is possible like in Linux. Also compiled libraries are usable in DOS and in Linux.

More infos are at geocities.com/dborca . I hope, that these patches will be included into DJGPP source code. The author Daniel Borca also provides:

  • (obsolete ?) DXE3 “DLL” support for DJGPP
  • D3X , a DOS extender, see DPMI for details
  • MESA (graphics) for Linux and DJGPP.

5.  Updated: Support library for DJGPP (libsupp)

This library adds new functions to DJGPP which are in the CVS of DJGPP but haven’t been included into main package yet. You will find useful infos at the mailing list of DJGPP or at Google Groups. It can only be used with DJGPP 2.04 beta.

Download, implemented functions and additional info can be found here.

Older versions:

5.1  Direct Download

FTP directory with current and old versions:

6.  GPM library for DJGPP

Blair Campbell released this library which can be downloaded at (new) http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/devel/libs/gpm/dos_gpm-0.2.zip. He wrotes at FreeDOS’ mailing list:

I’ve written a small gpm-semi-compatible library that implements enough functionality for GNU ncurses and libraries like ‘dialog’ that depend on that. I can send a demo dialog.exe compiled with it to anyone interested. In addition to ‘make install’, you will also have to copy keyboard.h to /dev/env/DJDIR/include/linux to get ncurses to compile with it.

GPM adds mouse support to text-based Linux applications and libraries like ncurses.

7.  New: Ncurses and Dialog for DJGPP

Blair Campbell also ported Ncurses (v5.7, http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/devel/libs/ncurses/) and Dialog (v1.1, (http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/menu/) to DJGPP using GPM.

8.  Tiny packages by Rugxulo

Version GCC 2.7.2.3 from 1997 August 22, fast, can compile itself on DOS, no C++.

Related discussion: groups.google.com/…

9.  See also


DR-DOS

DOS

Edit - History - Print - Recent Changes - Search
Page last modified on November 23, 2009, at 09:56 AM