C++ header files not found after installing in a non standart path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I installed my gcc-4.0.1 Version in a non standart path, since I don't want to 
destroy my system consistence that is build upon a gcc 3.3.5 compiler, but I 
want to do some experiments first with this new branch of development.

Nothing works right if I don't specify -B $INSTPATH on the commandline, which 
is no problem but it would be nice to find a more packaged solution.  I don't 
understand anyway, why the compiler binary doesn't find it's subdirs where it 
is configured and installed with.

The total clash can be experienced then, when trying to compile a C++ file 
with stdc++ headers.  Things like sstream aren't found.  I could use an 
include path, which works for this special case, but then I need several 
includepaths containing -I$I/include/c++ -I$I/c++/i686-pc-gnu-linux and 
possibly some more.

So my question again.  Is there some compact way to have the compiler search 
its own install directories ?  It might be usefull to have some spec file 
that works.

I might just have overseen some obvious thing while installing the compiler 
but I did it just as I am used to, choosing some simple configure options 
along with --prefix


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux