Hi Peter,

* Peter O'Gorman wrote on Thu, Jan 31, 2008 at 08:00:59AM CET:
> 
> I installed amd64 debian in a VM and with this patch I get:
> /usr/lib/gcc/x86_64-linux/gnu/4.1.2 /usr/lib /lib
> 
> I do not know if it is best to leave in the symlink and the original dir
> ( i.e. do cd $dir && pwd as well as cd $dir && pwd -P), which on debian
> would give something like:
> /usr/lib/gcc/x86_64-linux/gnu/4.1.2 /usr/lib64 /usr/lib /lib64 /lib

With this patch I get for -m32:
sys_lib_search_path_spec="/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../..  
/usr/lib/gcc/x86_64-linux-gnu/4.0.3/32 /usr/lib/gcc/x86_64-linux-gnu/4.0.3 
/usr/lib32 /lib32"

The first entry is wrong, as it's equal to /usr/lib which is 64bit.

For -m64 I get:
sys_lib_search_path_spec="/usr/lib/gcc/x86_64-linux-gnu/4.0.3 /usr/lib /lib"

I have not yet tried to understand the logic of the patch.

Cheers,
Ralf


Reply via email to