Mostly likely, when you compile, the new libraries and headers will get picked up. However, depending on how your LD_LIBRARY_PATH (or ld.so.conf on Linux) is set up, you may not get the right libraries - it will depend on whether /usr/lib is search before /usr/local/lib. I would suspect that /usr/local/lib is searched first, but it just depends on how your system is set up. Thanks, Lyle -----Original Message----- From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On Behalf Of Janvier D. Anonical Sent: Monday, August 23, 2004 11:23 PM To: gcc-help@xxxxxxxxxxx Subject: Two gcc Installations: conflict in library? Hello! Currently, my gcc (3.3.3) is installed in /usr. I have installed a new gcc (3.4.1) in /usr/local. Now, whenever I do 'gcc --version' the compiler being used is the new one (3.4.1). My questions is this. Which header files (e.g., stdio.h, iostream, etc.) and libraries (e.g., libstdc++, libgcc, etc.) lib will be used by default? Is it the one in /usr/local or the one in /usr? Thanks! ===== Last night as I lay in bed looking at the stars I thought: 'Where the hell is ceiling?' ________________________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html