From: G DOT DegliEsposti AT ads DOT it To: djgpp AT delorie DOT com Message-ID: Date: Wed, 4 Mar 1998 17:09:17 +0100 Subject: Re: GCC or GXX Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Precedence: bulk > Ok, I've been using DJGPP for only a couple of months, and I was wondering > why the "gcc" command doesn't work. 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? If .h files can't be found this can be because you have problems in your configuration. Check the DJGPP environment variable (is it defined? doues it point to the djgpp.env file in your djgpp directory?). Anyway I can't understand how can it happen using gcc an not gxx... Are you sure it tells *.h can't be found ? I ask you because it could be some other problem here: c++ needs some libraries more then c. If you use gcc you have to specify them sxplicitly, while gxx does this for you. This is because gxx works and gcc doesn't. If this is the case, it shouldn't talk about .h files but about single functions, possibly declared in .h files. maybe you'd better post exacly the error messages gcc outputs... ciao Giacomo