Mail Archives: djgpp/1999/09/14/10:37:21
On 13 Sep 1999, Aaron StJ wrote:
> platforms. What I would like to know, to put it simply, can DJGPP (which is
> basically a port of GCC, with a great 32-bit librray, no?) do any
> cross-compiling?
It can, but you'd need to reconfigure and rebuild it first.
Each version of a GCC binary supports one host and one target. (Host
is the system--CPU and OS--where you compile, target is the system
where the code will run.) DJGPP binaries are configured so that both
host and target are the DJGPP environment, that is, a DOS/Windows
machine with DPMI services.
To get DOS-hosted cross-compiler, you need to configure GCC so that
the target is a different system, and then rebuild the compiler. You
will also need Binutils configured for the same combination of the
host and target. While this is possible, it is not for the faint of
heart.
Section 22.8 of the DJGPP FAQ list mentions some configurations for
which this was already done.
- Raw text -