www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/06/07/08:50:34

Xref: news-dnh.mv.net comp.os.msdos.djgpp:201
Path: news-dnh.mv.net!mv!news.sprintlink.net!howland.reston.ans.net!swrinde!elroy.jpl.nasa.gov!sdd.hp.com!col.hp.com!bdale
From: bdale AT col DOT hp DOT com (Bdale Garbee)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Build MSDOS apps under Linux?
Date: 5 Jun 1995 22:15:35 GMT
Organization: HP Colorado Springs Division
Lines: 19
Distribution: world
References: <RICK DOT 95Jun5111827 AT rio DOT moneng DOT mei DOT com>
Nntp-Posting-Host: kzin.col.hp.com
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

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

- Raw text -


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