delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/09/13/04:45:40

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: vyom2k4 AT yahoo DOT com (Vyom)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Conversion of a.out
Date: 13 Sep 2004 01:36:19 -0700
Organization: http://groups.google.com
Lines: 20
Message-ID: <bd472b6d.0409130036.2f67518a@posting.google.com>
References: <bd472b6d DOT 0409112259 DOT 599b327e AT posting DOT google DOT com> <2qj56eF10kn8aU2 AT uni-berlin DOT de>
NNTP-Posting-Host: 202.9.150.129
X-Trace: posting.google.com 1095064579 3672 127.0.0.1 (13 Sep 2004 08:36:19 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Mon, 13 Sep 2004 08:36:19 +0000 (UTC)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> wrote in message news:<2qj56eF10kn8aU2 AT uni-berlin DOT de>...
> Vyom <vyom2k4 AT yahoo DOT com> wrote:
> 
> > Can I convert the a.out files that I have created on Linux to .exe
> > using the DJGPP package?
> 
> Yes.  STUBIFY, also known as "COFF2EXE" does that.  Whether the
> resulting .exe has any chance of working will depend on how exactly
> created it on Linux.  Mind you that a generic Linux executable has
> quite certainly a *zero* chance of working as a DJGPP program.
> 
> A well-done Linux-to-DJGPP cross compilation toolchain should, at
> least in principle, be able to create .exe files directly, using the
> same method as native DJGPP (i.e.: the effect of stubify.exe is built
> into the linker).

I tried
     > stubify a.out
I got the message
     Warning: input file is not COFF or stubbed COFF

- Raw text -


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