Mail Archives: djgpp/1997/01/15/01:50:56
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 -