libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installed libstdc++.la depends on GCC build directory


From: Peter O'Gorman
Subject: Re: Installed libstdc++.la depends on GCC build directory
Date: Sun, 12 Sep 2004 23:13:54 +0900
User-agent: Mozilla Thunderbird 0.7.3 (Macintosh/20040803)

Alexandre Oliva wrote:

On Sep  8, 2004, Bob Friesenhahn <address@hidden> wrote:


After installing GCC 3.4.2 today, I see that it still suffers from a
libtool bug which may upset builds unless the GCC build directory is
removed.  I have reported this bug to the GCC bug tracking system:


It's not exactly a bug.  The problem is that libtool can't tell that
some directory needed to bring in dep libs is to be used only at build
time.  We need some mechanism to tell libtool to strip certain
directories from the installable .la file, something like -<option>
/dir, that would omit options such as -L/dir and -L/dir/* specified in
the command line into the build-time .la file, but not into the
installable one.

Sounds good to me, libtool expects all libs in the build dir to be built with libtool and referred to by .la file, but this is not the case with gcc. If you can come up with an option -build-dir or whatever, subdirs of which are ignored for dependency_libs then we'll all jump with joy :)

Peter
--
Peter O'Gorman - http://www.pogma.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]