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

Re: 64-bit packaging details



On Friday 30 May 2003 23:06, Juergen Kreileder wrote:
> Arnd Bergmann <arnd@arndb.de> writes:
> > The /lib64 name is mandated by the ELF ABI, although there
> > are a few exceptions like '/usr/lib/gcc-lib/i386-linux/3.3/64/'.
>
> Shouldn't that be '/usr/lib64/gcc-lib/x86_64-linux/3.3/32'?

It depends. Currently, the compiler is built for i386, so
'/usr/lib/gcc-lib/i386-linux/3.3/64/' is correct. When we start building
the compiler itself as a 64 bit binary, we'll have to decide
on something different.

AFAIK, Red Hat Linux uses '/usr/lib/gcc-lib/x86_64-linux/3.3{,/32}', which
makes sense: .../gcc-lib/... has its own subdirs for different ABIs (i.e.
not only limited to 32 and 64 bit), so it should not be below the path
for a specific ABI but below the most generic path. The same is true
for e.g. /usr/lib/X11/... and /usr/lib/perl/... .

Note that gcc uses a different logic for finding its own libraries (libstdc++,
libgcc, ...) vs. finding system libraries on biarch systems.

	Arnd <><



Reply to: