|
From: | Ralf Corsepius |
Subject: | Re: About libdir for 64-bit |
Date: | Wed, 17 Jul 2013 13:18:33 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 |
On 07/17/2013 11:53 AM, Thomas Jahns wrote:
Hello, On 07/16/13 11:23, Sergio Belkin wrote:I have a configure.ac with following: AS_CASE([$host], [x86_64*|sparc64*|s390x*|ppc64*], [libdir=$prefix/lib64], [libdir=$prefix/lib])how does this work for users having -m32 (gcc) or -q32 (xlc) set in their compiler flags?
It does not work at all, because this approach does not take into account GCC's search path depends on the compiler flags being used.
I'done it in order to make easy the install of package and choose the libdir according to arch. But I've found that I can't override if I run ./configure llibdir=/whatever and even distros like Debian put libraries in /usr/lib//x86_64-linux-gnu is there a way to fix it?I couldn't propose anything.
No surprize ;)libdir is an input-parameter to configure, which is supposed to point to an arbitrary user specified directory.
If one wants to install into a directory GCC and ldd search for libraries, you can not avoid to explicitly specify one (There are several ones).
Ralf
[Prev in Thread] | Current Thread | [Next in Thread] |