delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/15/01:50:56

Date: Wed, 15 Jan 1997 08:44:48 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Tudor <tudor AT cam DOT org>
cc: djgpp AT delorie DOT com
Subject: Re: DJGPP w/Unix
In-Reply-To: <32DC7AF2.6171@cam.org>
Message-ID: <Pine.SUN.3.91.970115084105.14601I-100000@is>
MIME-Version: 1.0

On Tue, 14 Jan 1997, Tudor wrote:

> I would like to use DJGPP to produce UNIX executables...I know that
> there is GCC but there are lots of things for DJGPP that aren't
> availeble for GCC(like all the libs,(allegro)..etc).

You cannot use all those nifty libraries on Unix, because they aren't
binary-compatible with any OS other than DOS.  You will have to port them 
to Unix on the source level, and if you do that, you can just compile 
your program with GCC on Unix.

> In a 'syntax' and 'instructions' point of view,in what ways is DJGPP
> different from GCC? What is the amount of DJGPP specific hacks and what
> exactely are those?

The compiler in DJGPP is GCC, period.  It is configured to produce 32-bit 
code on Intel x86 architecture, but other than that, it doesn't do 
anything that GCC on Unix doesn't.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019