From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8228 invoked by alias); 24 Aug 2004 16:27:04 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 8172 invoked from network); 24 Aug 2004 16:27:01 -0000 Received: from unknown (HELO masquerade.micron.com) (137.201.242.130) by sourceware.org with SMTP; 24 Aug 2004 16:27:01 -0000 Received: from mail-srv1.micron.com (localhost [127.0.0.1]) by masquerade.micron.com (8.12.9/8.12.2) with ESMTP id i7OGQxoN008807 for ; Tue, 24 Aug 2004 10:27:00 -0600 (MDT) Received: from ntxboimbx07.micron.com (ntxboimbx07.micron.com [137.201.80.94]) by mail-srv1.micron.com (8.12.9/8.12.2) with ESMTP id i7OGQxuK008801; Tue, 24 Aug 2004 10:26:59 -0600 (MDT) From: lrtaylor@micron.com content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Two gcc Installations: conflict in library? Date: Tue, 24 Aug 2004 18:27:00 -0000 Message-ID: <363801FFD7B74240A329CEC3F7FE4CC40309610B@ntxboimbx07.micron.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: To: , X-Scanned-By: MIMEDefang 2.37 X-SW-Source: 2004-08/txt/msg00222.txt.bz2 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@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On Behalf Of Janvier D. Anonical Sent: Monday, August 23, 2004 11:23 PM To: gcc-help@gcc.gnu.org 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! =3D=3D=3D=3D=3D Last night as I lay in bed looking at the stars I thought: 'Where the hell is ceiling?' ________________________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping"=20 your friends today! Download Messenger Now=20 http://uk.messenger.yahoo.com/download/index.html