changing default gcc include path
Chris Jones
jonesc at hep.phy.cam.ac.uk
Thu Dec 1 08:54:58 UTC 2005
Hi,
I'm running FC4 and trying to setup an environment to compile applications
that require gcc 3.2.3
I've installed the various compat rpms, which have provided the gcc 3.2.3
compiler. This seems fine, however I am having problems with the standard
include paths, as I get this error
In file included from /usr/include/c++/4.0.2/string:52,
from /data/lhcbSoft/lcg/external/AIDA/3.2.1/share/src/cpp/AIDA/IAnalysisFactory.h:15,
from /data/lhcbSoft/lcg/external/AIDA/3.2.1/share/src/cpp/AIDA/AIDA.h:4,
from /home/jonesc/cmtuser/GaudiPI/v0r3/dict/AFCreator.h:4:
/usr/include/c++/4.0.2/bits/basic_string.h: In member function `bool
std::basic_string<_CharT, _Traits, _Alloc>::_M_disjunct(const _CharT*)
const
':
etc. etc.
So, I am actually including header files from /usr/include/c++/4.0.2/,
whereas for this application, I need to use /usr/include/c++/3.2.3/.
I have a script which I run in a terminal to setup various things for this
case. Is there something I can put in this script to alter the default such
path to find files from /usr/include/c++/3.2.3 ?
cheers Chris
More information about the fedora-list
mailing list