This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gcc] Build fail for 2.95.3 version on a modern system


18.2.2014 14:09, Marcello Stanisci kirjoitti:
Hi,

I am trying to build gcc 2.95.3 with my gcc 4.7 on a debian stable
(wheezy) environment.

Once gcc 4.7 has built xgcc (that is, I guess, the actual gcc 2.95.3),
the compilation process
tries to build something with xgcc and the problem is that xgcc can't
find some header files that
I do have in my system.

Where the gcc-2.95.3's cpp0 (or something like that for the C PreProcessor) now searches
the headers?  If not from the default :

  /usr/local/include
  $prefix/lib/gcc-lib/$target/2.95.3/include
  $prefix/$target/include
  /usr/include

(for a native GCC) then where? Of course everyone who uses GCC is expected to know how to put its components to tell their search paths... If you yet don't know, please learn this
thing, for instance via Google like looking via "search paths for GCC"...

How can I tell `make'  to give a certain directory to xgcc where it
can search for header files?


That isn't sane, much better is to find out why it now searches in wrong places and not in
the expected places...  Something wrong in the configure command?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]