delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/27/11:35:16

From: Andrew Crabtree <andrewc AT typhoon DOT rose DOT hp DOT com>
Message-Id: <199706271532.AA032935553@typhoon.rose.hp.com>
Subject: Re: Create DOS 32 bits exe on solaris/unix?
To: dov AT israel DOT sun DOT com (Dov Zandman)
Date: Fri, 27 Jun 1997 8:32:32 PDT
Cc: djgpp AT delorie DOT com
In-Reply-To: <33B2808C.3CE@israel.sun.com>; from "Dov Zandman" at Jun 26, 97 5:45 pm

> Does anybody know how to create dos32 bits exe file on GCC cross
> compiler running on Unix/solaris ?

Sure - assuming you have the cross-compiler built just invoke it 
and you'll get .exe output :)

If you actually need to build the cross-compiler then there is a section
in the faq detailing what you need to do.

Get binutils source from a /pub/GNU directory.  When you configure
it specify a --target for DJGPP

Get gcc source from a /pub/GNU directory.  Configure it also specify
a --target option.

Get the DJ cross-compiler kit from a simtel mirror (this gives you 
the libraries and header files)

I think I may have run into problems (small) with the link script
from the directions in the faq.  Also, I would ignore the portion in the
faq about how to set things up in different directories.  Just let
them go where the go by default is easiest.

Andrew



- Raw text -


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