Mail Archives: djgpp/1997/07/14/08:35:45
In article <199707090838 DOT KAA08864 AT d1o26 DOT telia DOT com>,
"Kristian Krebs" <kristian DOT krebs AT orebro DOT mail DOT telia DOT com> 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
- Raw text -