From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9353 invoked by alias); 24 Dec 2007 16:56:43 -0000 Received: (qmail 9340 invoked by uid 22791); 24 Dec 2007 16:56:43 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 24 Dec 2007 16:56:39 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id lBOGpVGs026820; Mon, 24 Dec 2007 11:51:32 -0500 Received: from pobox.fab.redhat.com (pobox.fab.redhat.com [10.33.63.12]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lBOGpVhK026433; Mon, 24 Dec 2007 11:51:31 -0500 Received: from [10.32.4.26] (vpn-4-26.str.redhat.com [10.32.4.26]) by pobox.fab.redhat.com (8.13.1/8.13.1) with ESMTP id lBOGpUFX006844; Mon, 24 Dec 2007 11:51:30 -0500 Message-ID: <476FE39E.9020902@redhat.com> Date: Mon, 24 Dec 2007 16:56:00 -0000 From: Nick Clifton User-Agent: Thunderbird 1.5.0.12 (X11/20071018) MIME-Version: 1.0 To: petr.ellner@seznam.cz CC: binutils@sourceware.org Subject: Re: linking with local project libraries References: <6.6-5177-1320839227-1198192847@seznam.cz> In-Reply-To: <6.6-5177-1320839227-1198192847@seznam.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2007-12/txt/msg00143.txt.bz2 Hi Petru, > I'am dealing with following problem: > I've got program P which depends on library A which depends on library B... If library A needs library B then any program P which uses library A is also dependent upon library B. Hence P either needs to know about library B and explicitly include information on how to locate it when P is linked or else library B needs to be placed in a standard location where it can be found by the linker. Putting B in a non-standard location and then not telling the linker about it just does not work. Cheers Nick