bug-libtool
[Top][All Lists]
Advanced

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

libtool-1.3.4 cannot handle g77


From: nbecker
Subject: libtool-1.3.4 cannot handle g77
Date: 30 Oct 2000 11:00:51 -0500

ltmain.sh (GNU libtool) 1.3.4 (1.385.2.196 1999/12/07 21:47:57)

There are 2 problems that seem to make it impossible to use libtool to
build shared libs with g77.

First (which is not insurmountable) is that the link uses gcc instead
of g77:

libtool --mode=link g77 -o libamos.la d1mach.lo dgamln.lo fdump.lo i1mach.lo 
xerror.lo zabs.lo zacai.lo zacon.lo zairy.lo zasyi.lo zbesh.lo zbesi.lo 
zbesj.lo zbesk.lo zbesy.lo zbinu.lo zbiry.lo zbknu.lo zbuni.lo zbunk.lo zdiv.lo 
zexp.lo zkscl.lo zlog.lo zmlri.lo zmlt.lo zrati.lo zs1s2.lo zseri.lo zshch.lo 
zsqrt.lo zuchk.lo zunhj.lo zuni1.lo zuni2.lo zunik.lo zunk1.lo zunk2.lo 
zuoik.lo zwrsk.lo -rpath /usr/lib -lm
rm -fr .libs/libamos.la .libs/libamos.* .libs/libamos.*
gcc -shared  d1mach.lo dgamln.lo fdump.lo i1mach.lo xerror.lo zabs.lo zacai.lo 
zacon.lo zairy.lo zasyi.lo zbesh.lo zbesi.lo zbesj.lo zbesk.lo zbesy.lo 
zbinu.lo zbiry.lo zbknu.lo zbuni.lo zbunk.lo zdiv.lo zexp.lo zkscl.lo zlog.lo 
zmlri.lo zmlt.lo zrati.lo zs1s2.lo zseri.lo zshch.lo zsqrt.lo zuchk.lo zunhj.lo 
zuni1.lo zuni2.lo zunik.lo zunk1.lo zunk2.lo zuoik.lo zwrsk.lo  -lm -lc  
-Wl,-soname -Wl,libamos.so.0 -o .libs/libamos.so.0.0.0

The big problem is this:

libtool --mode=link g77 -o libamos.la d1mach.lo dgamln.lo fdump.lo i1mach.lo 
xerror.lo zabs.lo zacai.lo zacon.lo zairy.lo zasyi.lo zbesh.lo zbesi.lo 
zbesj.lo zbesk.lo zbesy.lo zbinu.lo zbiry.lo zbknu.lo zbuni.lo zbunk.lo zdiv.lo 
zexp.lo zkscl.lo zlog.lo zmlri.lo zmlt.lo zrati.lo zs1s2.lo zseri.lo zshch.lo 
zsqrt.lo zuchk.lo zunhj.lo zuni1.lo zuni2.lo zunik.lo zunk1.lo zunk2.lo 
zuoik.lo zwrsk.lo -rpath /usr/lib -lg2c -lm
rm -fr .libs/libamos.la .libs/libamos.* .libs/libamos.*

*** Warning: This library needs some functionality provided by -lg2c.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

I wish there was a way to overide this and tell libtool to make the
lib anyway.  Yes, I know it's not portable, but it's better than the
alternative.



reply via email to

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