Date: Tue, 9 Mar 1999 12:02:55 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com Subject: Re: Can't compile Hello World!!! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.