delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/14/08:35:45

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

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 -


  webmaster     delorie software   privacy  
  Copyright Đ 2019   by DJ Delorie     Updated Jul 2019