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: Problem with G++ include files (fwd)


Sumith Makam                        <makampec@iitr.ernet.in> writes:

> Date: Fri, 30 Apr 2004 23:22:35 -0500 (GMT)
> From: Sumith Makam <makampec@iitr.ernet.in>
> To: gcc-help-help@gcc.gnu.org
> Subject: Problem with G++ include files
> 
> Hi all
> As part of my work, I need both gcc-3.2 and gcc-2.95. And so, I've
> installed gcc-2.95 after gcc3.2. So, whenever I compile the programs with
> g++-3.2, include files from gcc-2.95 are included. And so, I manually
> included the needed haeder files with -I tag...
[snip]

You should re-install gcc-3.2 and gcc-2.95 with different --prefix
    arguments, like this:

    ../gcc-2.95.3/configure --prefix=/usr/local/gcc-2.95.3 # rest of args

    ../gcc-3.2.3/configure --prefix=/usr/local/gcc-3.2.3 # rest of

Installing multiple gccs with the same prefix has several problems,
    including this one.


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