[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SCO/bugfix patch 8 of 10: ltmain.in -L handling for SCO platforms
From: |
Tim Rice |
Subject: |
Re: SCO/bugfix patch 8 of 10: ltmain.in -L handling for SCO platforms |
Date: |
Sun, 6 Nov 2005 12:28:59 -0800 (PST) |
On Sat, 5 Nov 2005, Ralf Wildenhues wrote:
> Hi Kean,
>
> * Kean Johnston wrote on Mon, Oct 31, 2005 at 02:07:21AM CET:
> >
> > Handle older SCO systems correctly.
>
> Hmm. The original bug report (that added the sco3.2v5 line) is here:
> http://savannah.gnu.org/patch/index.php?func=detailitem&item_id=298
> I don't quite understand it, though. What exactly is going wrong here?
Here is an example on UnixWare 7.1.1
[snip]
/usr/bin/ksh88 ./libtool --tag=CC --mode=link cc -g -o depdemo main.o
./l1/libl1.la ./l2/libl2.la ./l4/libl4.la
mkdir .libs
LD_RUN_PATH="/usr/local/src/gnu/libtool-1.5.21a/tests/_inst/lib:$LD_RUN_PATH"
cc -g -o .libs/depdemo main.o ./l1/.libs/libl1.so ./l2/.libs/libl2.so
./l4/.libs/libl4.so
/usr/local/src/gnu/libtool-1.5.21a/depdemo/l3/.libs/libl3.so
/usr/local/src/gnu/libtool-1.5.21a/depdemo/l2/.libs/libl2.so
/usr/local/src/gnu/libtool-1.5.21a/depdemo/l1/.libs/libl1.so -lm
UX:ld: ERROR: fatal error: library libl1.so.0, which is NEEDED by
./l2/.libs/libl2.so, is not found
gmake[1]: *** [depdemo] Error 1
gmake[1]: Leaving directory `/usr/local/src/gnu/libtool-1.5.21a/depdemo'
gmake: *** [all-recursive] Error 1
>
> Cheers,
> Ralf
>
> > 2005-10-24 Kean Johnston <address@hidden>
> >
> > * ltmain.in: Update SCO system support.
> >
> > Index: ltmain.in
> > ===================================================================
> > RCS file: /cvsroot/libtool/libtool/Attic/ltmain.in,v
> > retrieving revision 1.334.2.91
> > diff -u -3 -p -r1.334.2.91 ltmain.in
> > --- ltmain.in 18 Oct 2005 07:26:05 -0000 1.334.2.91
> > +++ ltmain.in 30 Oct 2005 21:22:25 -0000
> > @@ -2559,7 +2569,11 @@ EOF
> > if test "$hardcode_direct" = no; then
> > add="$dir/$linklib"
> > case $host in
> > - *-*-sco3.2v5* ) add_dir="-L$dir" ;;
> > + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
> > + *-*-sysv4*uw2*) add_dir="-L$dir" ;;
> > + *-*-sysv5OpenUNIX* | \
> > + *-*-sysv5UnixWare7.[01].[10]* | \
> > + *-*-unixware7*) add_dir="-L$dir" ;;
> > *-*-darwin* )
> > # if the lib is a module then we can not link against
> > # it, someone is ignoring the new warnings I added
>
>
>
>
--
Tim Rice Multitalents (707) 887-1469
address@hidden