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: References: <2qj56eF10kn8aU2 AT uni-berlin DOT de> NNTP-Posting-Host: 202.9.150.129 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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 wrote in message news:<2qj56eF10kn8aU2 AT uni-berlin DOT de>... > Vyom 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