-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jaimon Jose wrote: | | Ralf Wildenhues wrote the following on 01/15/2006 09:51 PM: | |> Hi Jaimon, |> |> * Jaimon Jose wrote on Sat, Jan 14, 2006 at 07:25:34PM CET: |> |> |>> Compiler flag -xarch=v9 or -xarch=generic64 ( sunstudio 8 onwards ) |>> is used to build 64 bit object files. The same flag needs to be |>> provided to the linker driver, so that the compiler driver picks up |>> the correct runtime libraries before calling the linker. However, |>> libtool is not passing the LDFLAGS before invoking the linker driver. |>> I'm building it on Solaris 8 with both SunForte U2 and SunStudio 11. |>> Libtool used is 1.5.18. |>> |> |> |> This should be fixed in Libtool-1.5.22. |> | | Thanks for the heads up. Libtool-1.5.22 passes the linker flags correctly. | I see a new problem with this. Shared library extension is not passed | correctly, 'cause of which extension is missing from shared libraries. | ( For eg. libname.1.1.1 ) | The problems seems to be with un-initiallized shrext_cmds variable. | This is initialized in link mode only if a shrext argument is found in | the command line. Shouldn't this be initialized by default ( as soon as | you enter link mode ) with variable shrext ? ( I tried this and that | seems to be solving the problem )
If shrext_cmds is unset it is because the configure script has a libtool.m4 that does not match the version of ltmain.sh. If you installed libtool in /usr/local, but have aclocal in /usr/bin, then you are likely getting the old libtool.m4 from /usr/share/aclocal/libtool.m4 rather than the latest one at /usr/local/share/... Add the right -I flags to your aclocal invocation, or install automake in the same prefix as libtool. Peter -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Darwin) iQCVAwUBQ8zqMriDAg3OZTLPAQLuWQQAtzsckJYdNQgbfMQoD50H8U+uw29hvI91 M4Tw/+elizIbhMlbeFtBBaiNQZ2Lj6w1Oq3kahM2HHyOIQzhCiiW9vbDuJWCG073 FH+iM+wkzsf3JJRxpDkG9GUoxSHXA8naV5NW3zKjOe2sn/9K2prgJWWUyjBN4ybb 4XgPr3rr+r8= =siiW -----END PGP SIGNATURE----- _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool