Mail Archives: djgpp/1998/08/26/17:28:38
George Bason wrote:
>
> I am running DJGPP on a DOS machine. Can I compile programs that will
> run on a UNIX machine?
You want a cross-compiler. It is possible, but:
* You will have to re-configure and recompile GCC and Binutils (be sure
to use the FSF sources from ftp.gnu.org). Something like `configure
--target=sparc-sun-solaris'. You'll need bash. This isn't done by many
people, and may or may not work easily.
* You will need to get a copy of the target system's headers and
libraries. This may or may not be legal.
* Some platforms are not fully supported by Binutils. For instance, the
linker cannot target SGI/IRIX.
There is a section in the FAQ which explains this, but it may not be
accurate anymore.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -