From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29199 invoked by alias); 14 Feb 2003 04:27:24 -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 29181 invoked from network); 14 Feb 2003 04:27:17 -0000 Received: from unknown (HELO lantana.iitm.ernet.in) (202.144.28.166) by 172.16.49.205 with SMTP; 14 Feb 2003 04:27:17 -0000 Received: from localhost (bharathi@localhost) by lantana.iitm.ernet.in (8.11.6/8.11.6) with ESMTP id h1E4Rdh27874; Fri, 14 Feb 2003 09:57:41 +0530 Date: Fri, 14 Feb 2003 04:27:00 -0000 From: Bharathi S To: "Hillel (Sabba) Markowitz" cc: GCC Help Subject: Re: g++ dynamic library search setting In-Reply-To: <3E4C7782@webmail.bcpl.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2003-02/txt/msg00121.txt.bz2 On Thu, 13 Feb 2003, Hillel (Sabba) Markowitz wrote: > We want to set up gcc to search /usr/local/GCC/lib when compiling > *without* having to set up LD_LIBRARY_PATH. Is there a way of doing > this? -Ldir Add directory dir to the list of directories to be searched for `-l'. Kindly read the LINKER Options and DIRECTORY Options Sections of GCC man page. HTH :) -- Bharathi S, IndLinuX Team, (__) DONLab, TeNeT Group, oo / IIT-Madras, Chennai-INDIA. (_/\