Date: Thu, 10 Jul 1997 12:41:04 -0600 From: kmatick AT binghamton DOT edu Subject: Re: Help with ezgcc Newsgroups: comp.os.msdos.djgpp Message-ID: <868556099.27992@dejanews.com> Organization: Deja News Usenet Posting Service References: <199707090838 DOT KAA08864 AT d1o26 DOT telia DOT com> Lines: 41 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article <199707090838 DOT KAA08864 AT d1o26 DOT telia DOT com>, "Kristian Krebs" wrote: > > Hello... > > I have some trouble with either my DOS or the DJGPP C compiler (I donīt > think so) but I canīt figure it out myself. > > I have made a very simple set of C code, and copied it into the file > hello.c : [snip] > I compile it into hello.exe: > > C:\DJGPP\Exes>gcc -v hello.c -o hello.exe > [snip] > Yes , and your machine crashes when you try to run hello.exe. Compile it like this : gcc hello.c -o hello then run it thus : go32 hello or convert it to an exe file thus : coff2exe hello Best solution : Dump EZGCC and download DJGPP v2.01 ;-) -------------------==== Posted via Deja News ====----------------------- http://www.dejanews.com/ Search, Read, Post to Usenet