cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/26/17:28:38

Sender: nate AT cartsys DOT com
Message-ID: <35E4364C.57BC8F76@cartsys.com>
Date: Wed, 26 Aug 1998 09:22:36 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
MIME-Version: 1.0
To: George Bason <george AT oldbelt DOT com>
CC: djgpp AT delorie DOT com
Subject: Re: help
References: <35E20D12 DOT 729D8452 AT oldbelt DOT com>

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 -


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