This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: lib64 and --disable-multilib


Hi,

On 09/09/14 21:04, Shaun Jackman wrote:
> On 9 September 2014 11:10, Andrew Haley <aph@redhat.com> wrote:
>> On 09/09/2014 06:57 PM, Shaun Jackman wrote:
>>> Hi. I compiled gcc with --disable-multilib on an x86-64 system and
>>> expected GCC libraries to be installed in $prefix/lib, but found them
>>> instead installed in $prefix/lib64.
>>
>> That's right: it's the standard place for 64-bit x86-64 libraries.
>>
>>> Is there a configure option to
>>> override this behaviour and install libraries in $prefix/lib? If not,
>>> should simply moving the libraries to $prefix/lib work?
> 
> I understand lib64 has a vital purpose on a multilib system. On a
> non-multilib system, it seems odd to me to have a populated lib64
> directory and an empty lib directory. It's tidier (in my opinion) to
> just name the directory lib.

Sure, but it's nonstandard.  You should just do what Debian do, and
symlink lib and lib64.

> Most open-source software after `./configure && make install` install
> libraries into $prefix/lib, not $prefix/lib64. I installed 139 open
> source packages on this system, and only four packages installed
> libraries in lib64: gcc, git, libffi and r.

Well, those packages are broken.  I'm surprised that there are so many
packages out there which still haven't been fixed.  Standards exist
for a reason.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]