From: "Jonathan Glenn L. Ocab" Newsgroups: comp.os.msdos.djgpp Subject: Re: GCC or GXX Date: Wed, 4 Mar 1998 06:17:34 -0800 Organization: AT&T WorldNet Services Lines: 40 Message-ID: <6djnqd$a2m@bgtnsc02.worldnet.att.net> References: <6dioj4$bvq AT bgtnsc02 DOT worldnet DOT att DOT net> <877m6afwj9 DOT fsf AT hasn DOT dera DOT gov DOT uk> NNTP-Posting-Host: 12.64.37.225 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk No, I've been giving my source code the .cc extension. Ian Miller wrote in message <877m6afwj9 DOT fsf AT hasn DOT dera DOT gov DOT uk>... >"Jonathan Glenn L. Ocab" 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.