X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Hans-Bernhard Broeker 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: <2qj56eF10kn8aU2 AT uni-berlin DOT de> <2ql70eF10ff6bU4 AT uni-berlin DOT de> 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 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.