x86_64 gcc multilibs

Ralf Corsepius rc040203 at freenet.de
Mon Feb 7 11:10:37 UTC 2005


Hi,

Is it correct, that FC3's gcc on x86_64 uses these multilibs:

$ x86_64-redhat-linux-gcc  -print-multi-lib
.;
32;@m32

IMO, this is wrong and should either be 
(assuming . matching -m64 | lib64)
.;
32;../lib

or (assuming . matching -m32 | lib)
.;
64;../lib64

If x86_64 gcc was using one of the latter muliblib-sets,
 gcc -m64 -L/xxx/lib
would automatically pickup m64 compiled libs from /xxx/lib/../lib64,
instead of those from /xxx/lib.

Unfortunately I don't have access to x86_64 systems :-(

Ralf





More information about the fedora-devel-list mailing list