Ossama Othman wrote:
>
> Hi Stephan,
>
> You're too quick. :-)
>
> I'm testing a different patch which should be better, and incurs less
> overhead during link-time, since it is run at config-time.
>
> On Sun, Jun 04, 2000 at 01:12:53AM +0200, Stephan Kulow wrote:
> > Ossama Othman wrote:
> > > There was a slight bug in the patch I just posted, but I think that
> > > you get the idea of what it was supposed to do.
> >
> > You were talking about the the, no? :)
>
> Well, "slightly" more than that. :-)
>
> > OK, it doesn't work.
>
> Yep, I realized that just before I got your message. Sorry for the
> false alarm.
>
> > I patched your patch to have some debug output:
> > + echo "new_predeps $new_predeps"
> > + echo "libs $libs"
> > + echo "predepds $predeps_lib_path"
> > libs="$new_predeps $libs $predeps_lib_path $postdeps"
> >
> > And this is the result:
> >
> > /bin/sh ../libtool --mode=link g++ -g -ansi -D_XOPEN_SOURCE
> > -D_BSD_SOURCE -fno-exceptions -fno-rtti -fno-check-new -Wall -pedantic
> > -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long
> > -fno-builtin -frtti -DQT_CLEAN_NAMESPACE -L/usr/X11R6/lib
> > -L/home/coolo/prod/qt/lib -L/home/coolo/prod/KDE/lib -o dcopserver.la
> > -rpath /home/coolo/prod/KDE/lib -module -avoid-version dcopserver.lo
> > libDCOP.la
> > new_predeps
> > libs -L/usr/X11R6/lib -L/home/coolo/prod/qt/lib
> > -L/home/coolo/prod/KDE/lib libDCOP.la
> > predepds -L/usr/lib/gcc-lib/i386-linux/egcs-2.91.66
> > -L/usr/i386-linux/lib
> > rm -fr .libs/dcopserver.la .libs/dcopserver.lai .libs/dcopserver.so
> > g++ -shared -nostdlib /usr/lib/crti.o
> > /usr/lib/gcc-lib/i386-linux/egcs-2.91.66/crtbeginS.o
> > .libs/dcopserver.o -L/usr/lib -L/usr/i386-linux/lib
> > -L/usr/lib/gcc-lib/i386-linux/egcs-2.91.66 -L/usr/X11R6/lib
> > -L/home/coolo/prod/qt/lib -L/home/coolo/prod/KDE/lib ./.libs/libDCOP.so
> > -lstdc++ -lm -lc
> > -lgcc -lc /usr/lib/gcc-lib/i386-linux/egcs-2.91.66/crtendS.o
> > /usr/lib/crtn.o -Wl,-soname -Wl,dcopserver.so -o .libs/dcopserver.so
> > creating dcopserver.la
> >
> > Note, that /usr/lib is unknown at the point the code runs you've patched
>
> I'm not sure what you mean by it being "unknown." Can you please
> clarify that point? In any case, my new patch should be better. I'm
> testing it right now.
>
I mean unknown that while the code runs you've patched (there is no name
for
it, right? :) libDCOP.la is the only peace where the /usr/lib will come
out
later. So it's not about {pre,post}deps I would say. The fact that now
your
predeps are mirrored is another bug I'd say :)
Greetings, Stephan
--
... but you ain't had mine