libtool
[Top][All Lists]
Advanced

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

Re: libtool and 32/64-bit builds


From: Bob Friesenhahn
Subject: Re: libtool and 32/64-bit builds
Date: Fri, 26 Jul 2002 12:53:05 -0500 (CDT)

On Fri, 26 Jul 2002, Albert Chin wrote:
>
> The only thing that works for me is:
> $ cc -xarch=v9 a.c -L/opt/TWWfsw/zlib11/lib/sparcv9 -lz
> $ ldd a.out
>         libz.so.2 =>     (file not found)
>         libc.so.1 =>     /usr/lib/64/libc.so.1
>         libdl.so.1 =>    /usr/lib/64/libdl.so.1
>         /usr/platform/SUNW,Ultra-2/lib/sparcv9/libc_psr.so.1

Fine.  Maybe gcc 3.1 does something differently than the Sun compiler,
or the results of my own testing were an illusion.

Regardless, it would be useful if libtool could arrange to install and
find 64-bit libraries in a special directory so that it is not
necessary to create a whole new installation tree to support some
64-bit executables.

> So, I need to specify where the 64-bit libs are. Is there anything at
> http://docs.sun.com that indicates "/64" or "/sparcv9" are appended by
> the linker?

I haven't looked.

Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen




reply via email to

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