cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/09/05:06:03

Date: Tue, 9 Mar 1999 12:02:55 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: Can't compile Hello World!!!
In-Reply-To: <HSZE2.2611$mf2.9996@newse2.tampabay.rr.com>
Message-ID: <Pine.SUN.3.91.990309120237.7248K-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 9 Mar 1999, Andy wrote:

> I'm having the same problem exactly!  Any luck yet?

All those people who are ``having the same problem''--why don't you
look into the FAQ?  The answer is right there, staring at you.  Heck,
even README.1ST explains how to compile C++ programs and live to tell
the story.

Please, people, do read the documentation!  Especially when you have
some kind of trouble.  It might well be that the docs provided by
Microsoft is useless, but please do NOT take that frustration along
with you when you come to DJGPP: we *do* treat documentation
seriously.

> Want to see something even more strange?  Compile and link in two steps:
> 
> 1.  gcc -c hello.cpp -o
> 2.  gxx -o hello.o
> 
> It works on my machine!  As mentioned, though, I still get errors with the
> single step "gcc -o hello.exe hello.cpp"

This is all explained in README.1ST, in the section called
"Compilation", of all the possible names ;-).  It is also explained
again in the very first section of the FAQ list.

- Raw text -


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