[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How does one specify linking to 64 bit libraries when there is a cho
Re: How does one specify linking to 64 bit libraries when there is a choice?
Mon, 20 Dec 2010 16:22:05 +0100
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:188.8.131.52) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Thunderbird/3.1.7
On 12/20/2010 03:59 PM, Bruce Korb wrote:
Fedora + RHEL (and many other Linux distros) apply multilibs and
multiarching instead of "fat binaries".
Hi Andy, Ralf, et al.,
(With my Fedora Packaging Committee member hat on) In Fedora
and RHEL, users are supposed to pass
--libdir=/usr/lib64 to configure
on x86_64 and
It is unclear that you-all can do otherwise, without having OSX-style
mixed word size combined libraries.
Well, I am not sure what you are asking. --libdir (installation
directory) and "path to libraries to link to" (linker's library path)
actually are independent.
Autoconf does need to get
involved and work with libtool to get the information passed through.
The former is a user-/system-integrator provided setting, which may take
The latter is a system's internal implementation detail - If libtool
can't avoid exposing these implicit details, it has to examine the tools
being involved internal settings (In case of Fedora/RHEL: gcc). Correct
me if I am wrong, but as far as I can tell libtool doesn't do so, so far.
The same consideration applies to applications/application configure
scripts who want to guess for a "system's" libdir.
Wrt. autoconf: There have repeatedly been discussion on letting autoconf
provide different defaults for libdir on 64bit targets, but ...
... besides that guessing on system defaults is difficult, do you
realize that the setting autoconf provides are simply defaults, user
will almost always have to change?