[Top][All Lists]

[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
> =>     (file not found)
> =>     /usr/lib/64/
> =>    /usr/lib/64/
>         /usr/platform/SUNW,Ultra-2/lib/sparcv9/

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
> that indicates "/64" or "/sparcv9" are appended by
> the linker?

I haven't looked.

Bob Friesenhahn

reply via email to

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