This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
RE: Mysterious Dependencies
- From: Eric Lemings <lemings at roguewave dot com>
- To: "'gcc-bugs at gcc dot gnu dot org'" <gcc-bugs at gcc dot gnu dot org>
- Cc: 'Bob Friesenhahn' <bfriesen at simple dot dallas dot tx dot us>, "'libtool at gnu dot org'" <libtool at gnu dot org>
- Date: Tue, 24 Jan 2006 18:51:22 -0700
- Subject: RE: Mysterious Dependencies
Greetings!
Is this bug still in the GCC 4.x releases? (See messages below.)
Or has it been fixed in the GCC 4.x releases?
Thanks,
Eric.
> -----Original Message-----
> From: Bob Friesenhahn [mailto:bfriesen@simple.dallas.tx.us]
> Sent: Tuesday, January 24, 2006 6:51 PM
> To: Eric Lemings
> Cc: 'libtool@gnu.org'
> Subject: Re: Mysterious Dependencies
>
>
> This is due to a GCC bug that I reported long ago. GCC's
> libtool (GCC
> has its own version of libtool) inserts references to its build
> directory in the .la files installed alongside the libraries it
> installs.
>
> Bob
>
> On Tue, 24 Jan 2006, Eric Lemings wrote:
>
> > Hello,
> >
> > On RedHat AS 4u2, Libtool is putting the following line in my .la
> > files.
> >
> > dependency_libs=' -ldl
> >
> /amd/packages/mdx/redhat/compilers/gcc-3.4.4-2/bin/../lib/gcc/i386-red
> > hat-li
> > nux/3.4.4//libstdc++.la
> >
> -L/usr/src/redhat/BUILD/gcc-3.4.4-20050721/obj-i386-redhat-lin
> ux/i386-redhat
> > -linux/libstdc++-v3/src
> >
> -L/usr/src/redhat/BUILD/gcc-3.4.4-20050721/obj-i386-redhat-lin
> ux/i386-redhat
> > -linux/libstdc++-v3/src/.libs
> >
> -L/usr/src/redhat/BUILD/gcc-3.4.4-20050721/obj-i386-redhat-linux/gcc '
> >
> > Everything after '-ldl' does not exist in RHAS 4u2 (at least on the
> > system I am using). So where is Libtool getting all this
> stuff from
> > and why is it putting it in there if none of it exists?
> And is there
> > a way to make it look like this (without manually editing the file)?
> >
> > dependency_libs=' -ldl -lstdc++ '
>
> ======================================
> Bob Friesenhahn
> bfriesen@simple.dallas.tx.us,
> http://www.simplesystems.org/users/bfriesen/
> GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
>