delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/09/14/09:46:39

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: 14 Sep 2004 08:19:16 GMT
Lines: 24
Message-ID: <2qnns4F11b98aU1@uni-berlin.de>
References: <bd472b6d DOT 0409112259 DOT 599b327e AT posting DOT google DOT com> <2qj56eF10kn8aU2 AT uni-berlin DOT de> <bd472b6d DOT 0409130036 DOT 2f67518a AT posting DOT google DOT com> <2ql70eF10ff6bU4 AT uni-berlin DOT de> <bd472b6d DOT 0409132225 DOT 14556cf1 AT posting DOT google DOT com>
X-Trace: news.uni-berlin.de UwHYBbKM1XlFGtDCVz0hRwxqrIb/o2cVk8buqH6Z84ki4QlT69w7zkFl2r
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:
> > Well, that's a pretty sure sign that your a.out file is *not* produced
> > in a way that would let it be usable as a DJGPP program.  Back to
> > square one, therefore: what are you trying to do, and how are you
> > trying to do it?

> There are some softwares that I cannot get binaries for Dos/
> Windows, so I thought I can compile the sources on Linux and then convert
> them to .exe.

If it were that simple, do you really think the DJGPP ftp server would
hold all those megabytes upon megabytes of ported software?

No.  What you should do is take the sourcecode for those, and use the
DJGPP compiler itself to build the program for DOS.  And be prepared
for some extra work --- there's a number of things on DOS that simply
don't work the way Unix programs usually expect them to, and which
will cause your programs to fail miserably, in surprising ways, if
they're not taken care of.  I suspect you have a lot to learn before
you can do this.

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