delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/04/11:10:38

From: G DOT DegliEsposti AT ads DOT it
To: djgpp AT delorie DOT com
Message-ID: <C12565BD.00407E82.00@vega.ads.it>
Date: Wed, 4 Mar 1998 17:09:17 +0100
Subject: Re: GCC or GXX
Mime-Version: 1.0




> 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





- Raw text -


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