delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/05/16/15:58:33

Date: Sun, 16 May 93 13:50:49 -0500
From: rcharif AT math DOT utexas DOT edu
Posted-Date: Sun, 16 May 93 13:50:49 -0500
To: iclone!mjhostet AT cs DOT unm DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Cross-compiling to MS-DOS from Unix?
Reply-To: rcharif AT math DOT utexas DOT edu

    It looks to me like, with the help of some properly configured GNU  
    tools, I should be able to cross-compile/assemble/link and generate  
    a.out files of the type expected by go32 from my Unix  
    (NEXTSTEP/Intel) system.  This will be a major win for us if we can  
    pull it off.

    Has anyone tackled anything similar, and are there any caveats of  
    which I should be aware?  I'm assuming that the djgpp a.out format is  
    the standard bsd4.3 a.out which GNU ld knows about.

I already did that for SPARC --> go32. The version can be found on

	math.utexas.edu:pub/msdos/djgpp-cross

along with the necessary documentation how to build it. The version
uses an old version of binutils (1.97) which had a bug in it. I have a
version with binutils 2.1 which permits the geenration of go32 a.out
files on the SPARC. I am busy this week, but if someone is interested,
send me mail and I will update to the latest version (gcc2.3.3,
binutils 2.1, gas 2.0).

Regards,
Rami El Charif


- Raw text -


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