delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/26/12:39:07

Date: Sun, 26 May 1996 19:23:48 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Johan De Messemaeker <jdmssmkr AT einstein DOT rug DOT ac DOT be>
Cc: djgpp AT delorie DOT com
Subject: Re: Can`t compile
In-Reply-To: <4o9pl4$di0@infoserv.rug.ac.be>
Message-Id: <Pine.SUN.3.91.960526191712.8905B-100000@is>
Mime-Version: 1.0

On 26 May 1996, Johan De Messemaeker wrote:

> A program like this :
>
> #include <stdio.h>
>
> main()
> {
>   printf("Hello");
> }
> won't compile.

Please supply relevant details.  What does ``won't compile'' mean?  Are
there any error messages?  Does it crash?  If so, what does it write on
the screen when it crashes?  Does it hang your machine?  Please post
everything you see/feel/smell when you invoke gcc.  Also, tell something
about your system (how much RAM, what CPU, how much free disk space, what
operating system).  These details are important for the people who will
try to help you: they cannot possibly guess what's going on on your
machine. 

> I used 'gcc -v -o test.exe test.c', I get some text on my
> screen but he stops with the sign `GCC version 2.7.2 - Compiled with GCC
> version 2.7.2' (or something like that). What's the problem ?

Please post the exact text of what gcc prints when invoked with -v 
switch.  Also, invoke go32-v2 with no arguments from the DOS prompt and 
post what it prints.

- Raw text -


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