delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/12/05/15:35:41

Date: Mon, 5 Dec 94 09:50:49 -0500
From: dj AT stealth DOT ctron DOT com (DJ Delorie)
To: elf AT netcom DOT com
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: ELF format EXEs

> 
> Does ELF format for compiler output mean that we'd be able to compile
> on Linux and run on DOS?  That would be a most excellent improvement.
> If we'd be able to compile on DOS and run on Linux, that too would be
> a bonus.  What about iBCS?

The idea is to be able to use djgpp and/or linux NATIVE compilers and
linkers instead of cross-cc/ld.  You'll still need to use the right
headers and libraries for the target systems, but it means that any
work on linux or djgpp will benefit the other.

The final binaries will NOT be able to run on either platform, since
the system libraries you link in will be different.  However, the
compiler and linker (and other utilities) that you use for native vs
cross-compiling will be the same on a given platform, since the object
and executable file *formats* will be the same.

DJ


- Raw text -


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