[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TODO
From: |
Jacob Meuser |
Subject: |
Re: TODO |
Date: |
Sun, 14 Nov 2004 13:30:16 -0800 |
User-agent: |
Mutt/1.4.2i |
On Sun, Nov 14, 2004 at 08:57:27AM +0000, Scott James Remnant wrote:
> On Sat, 2004-11-13 at 15:27 -0800, Jacob Meuser wrote:
>
> > On Sat, Nov 13, 2004 at 10:21:19AM +0100, Ralf Corsepius wrote:
> > > It's just that their functionality
> > > intersects and partially conflicts.
> >
> > how?
> >
> > pkg-config is used to give basic information about installed packages.
> > libtool is used to build libraries.
> >
> > pkg-config is used in configure scripts.
> > libtool is used in Makefiles.
> >
> > yes, it's possible to use constructs like
> >
> > foo.so: foo.o
> > ${CC} ${LDFLAGS} -o foo.so foo.o `pkg-config bar --libs`
> >
> > in Makefiles, but this is not overlap in a conflicting way.
> >
> This is actually exactly what happens when you use pkg-config in a
> configure script. It generates a (e.g.) GLIB_LIBS Makefile variable and
> you arrange for the contents of that to be added to the link line --
> just like you say here.
yes, or I could just as easily hardcode
FOO_LIBS="-L/usr/local/lib -lfoo -lbar"
in configure.
so now, I'm not using pkg-config at all. it's not uncommon to see
such things. how would libtool deal with that?
> The conflict is that pkg-config not only provides the -L and -l needed
> to the library, but also those for all of its dependency libraries.
>
> So does Libtool.
how is that a conflict? would the case above be an irreconcilable
conflict?
> They're both trying to deal with platforms like Solaris that don't have
> a needed-following link loader.
>
> It would be far neater if they could co-operate with this.
libtool already scrutinizes the command line for relevant flags.
if libtool is so infinitely better than anything else at building
libraries, then why can't it simply drop irrelevant/duplicated
flags, and add the ones it needs?
--
<address@hidden>
>
> Scott
> --
> Have you ever, ever felt like this?
> Had strange things happen? Are you going round the twist?
> _______________________________________________
> Libtool mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/libtool
- Re: TODO, (continued)
- Re: TODO, Ralf Wildenhues, 2004/11/16
- Re: TODO, Joe Orton, 2004/11/15
- Re: TODO, Scott James Remnant, 2004/11/15
- Re: TODO, Bob Friesenhahn, 2004/11/15
- Re: TODO, Daniel Reed, 2004/11/15
- Re: TODO, Bob Friesenhahn, 2004/11/15
- Re: TODO,
Jacob Meuser <=
- Re: TODO, Scott James Remnant, 2004/11/14
- Re: TODO, Jacob Meuser, 2004/11/14
- Re: TODO ... solution to the pkg-config "conflict"?, Jacob Meuser, 2004/11/14
- Re: TODO ... solution to the pkg-config "conflict"?, Scott James Remnant, 2004/11/15
- Re: TODO, Scott James Remnant, 2004/11/14
- Re: TODO, Daniel Reed, 2004/11/14
- Re: TODO, Scott James Remnant, 2004/11/15
Re: TODO, Bob Friesenhahn, 2004/11/09