www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/06/08/15:36:20

Date: Thu, 8 Jun 95 08:15:35 EDT
From: den AT aisinc DOT com (Dave New)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Build MSDOS apps under Linux?

Bdale writes: 
> Rick Bronson (rick AT rio DOT moneng DOT mei DOT com) wrote:
> :   I read ALL of the gcc info ("info gcc" from emacs) and couldn't find
> : anything about MSDOS specified as the target for cross-compiling.
> 
> The Cygnus folks have included the go32 target in their patch for gcc that
> helps gcc better support embedded systems targets.  
> 
> 	ftp://ftp.cygnus.com/pub/embedded/crossgcc-2.6.3.patch.gz
> 
> I happily use a gcc-2.6.3 on my BSD/OS box that was built for 
> 
> 	--target=i386-go32
> 	
> to compile code that ends up running on DOS.  The only "trick" was to acquire
> the lib and include files from the djgpp distribution, and put them under
> /usr/gnu/i386-go32 (I use /usr/gnu as my --prefix) so that they would be what
> gets used in the compiles and links.
> 
> Bdale
> 
That's cool, Bdale, but *my* problem is setting go-32 as a host, rather than a
target, and cross-compiling to i960.  So far, the only "out of the box" solution
is a $2000 package from Intel that is based on some gcc release with their
proprietary libs and the Pharlap extender.

I'm not aware of any patches for getting go-32 host, except for the DJGPP release
itself, which hardwires both the host and target in the configur.bat files.

If you know of such a beast, please let us know.  Others on this group I'm
sure would be interested as to how to get something like this up and running.
I'm also haunting the crossgcc maillist, but so far, no soap.

Thanks,

Dave, WB4SBE/8
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Dave New, den AT aisinc DOT com                        Computer vision?
Applied Intelligent Systems, Inc.                I'm glad *they* can see
110 Parkland Plaza                                  the future...
Ann Arbor, MI  48103 (313) 995-2035
                 FAX (313) 995-2138

- Raw text -


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