X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Wed, 26 Jan 2005 20:43:52 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-ID: <01c503d7$Blat.v2.4$20bdf8a0@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.4 In-reply-to: (My.address@end.of.post) Subject: Re: Compile problem References: Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Mike C" > Date: Wed, 26 Jan 2005 08:22:52 GMT > > I have a small compile issue: Running in a DOS window under W2000, if I > compile using RHIDE, the resulting program runs fine on my PC, but, it > seems, not on anybody else's. What does the program do on other PCs? And how do you run it on your PC? Do you run it from the DOS box's command prompt, or in some other way (e.g., from within RHIDE)? > If I compile using > > gcc -Wall -O2 -o myprog.exe myprog.c > > then the program runs fine on other people's PC's. Can you compile the program both ways, each time under a different name, and then show a directory listing with the results? > Can you please tell me a) how to do it, and b) any reason why the program > compiled by RHIDE won't run on other PC's? I suspect that the program compiled under RHIDE was not linked to be a stand-alone DOS executable, but only a COFF image that Windows cannot run. If you answer the questions above, I might be able to see if my suspicions are correct.