delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/04/08:00:19

From: Ian Miller <itmiller AT dera DOT gov DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: GCC or GXX
Date: 04 Mar 1998 12:52:26 +0000
Organization: Defence Evaluation & Research Agency
Message-ID: <877m6afwj9.fsf@hasn.dera.gov.uk>
References: <6dioj4$bvq AT bgtnsc02 DOT worldnet DOT att DOT net>
NNTP-Posting-Host: 146.80.115.106
Lines: 30
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

"Jonathan Glenn L. Ocab" <ocabj AT worldnet DOT att DOT net> writes:

> Ok, I've been using DJGPP for only a couple of months, and I was wondering
> why the "gcc" command doesn't work.

It does.

> The FAQ said to try GXX and that works
> just fine. GCC always tells me that iostream.h, iomanip.h, stdlib.h, etc.
> can't be found, while gxx compiles just fine. Anyone know why?

Presumably because your not giving the compiler any clue that you require
C++. Perhaps you are not using the recommended source filename extension
[.cc]. Try

	info gcc

if you need to read some background on the compiler.

> If you think my config files are messed up, I went over them dozens of times
> to make sure they were correct.

If you're not doing something wrong then perhaps you'd better tell *us* why it
doesn't work.

-- 
Ian Miller, Dorset, UK
DJGPP 2.01, Win95 DOS box (LFN undefined, FNCASE=y)
The views expressed above are entirely those of the writer and do not represent
the views, policy, or understanding of any other person or official body.

- Raw text -


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