Sender: nate AT cartsys DOT com Message-ID: <35E4364C.57BC8F76@cartsys.com> Date: Wed, 26 Aug 1998 09:22:36 -0700 From: Nate Eldredge MIME-Version: 1.0 To: George Bason CC: djgpp AT delorie DOT com Subject: Re: help References: <35E20D12 DOT 729D8452 AT oldbelt DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk 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