Sumith Makam <makampec@xxxxxxxxxxxxx> writes: > Date: Fri, 30 Apr 2004 23:22:35 -0500 (GMT) > From: Sumith Makam <makampec@xxxxxxxxxxxxx> > To: gcc-help-help@xxxxxxxxxxx > 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.