delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/09/12/10:45:23

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Conversion of a.out
Date: 12 Sep 2004 14:35:58 GMT
Lines: 18
Message-ID: <2qj56eF10kn8aU2@uni-berlin.de>
References: <bd472b6d DOT 0409112259 DOT 599b327e AT posting DOT google DOT com>
X-Trace: news.uni-berlin.de YL9DR0OR0g2gtr52HyPgegsf4rPs57mHXq/la+m4rqWWExBv1IBupfFBVz
X-Orig-Path: not-for-mail
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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).

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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