Le 17/10/2012 15:50, Andrew a écrit :
> 17.10.2012 15:07, Yves Blusseau пишет:
>> Le 17/10/2012 13:08, Andrew a écrit :
>>> I think that this patch will not break anything for 32bit toolchain.
>> It will because if you used -m32 it will look for lib in /usr/lib32 :(
>>
>> So we only need to patch the source only for 64bits arch.
>>
>> Yves
>>
> It'll look in lib32 only if gcc is compiled for 64bit support - as said
> in gcc/config/config.h comments. Other files are included for 64bit
> target system.
> If it fails for pure 32bit toolchain, we can try to leave config.h
> untouched.
It's seems to work. Can compile 32bit toolchain with the pure64 patch 
applied:

./i486-unknown-linux-uclibc-gcc -print-multi-os-directory
.
./i486-unknown-linux-uclibc-gcc -m64 -print-multi-os-directory
.
./i486-unknown-linux-uclibc-gcc -m32 -print-multi-os-directory
.
./i486-unknown-linux-uclibc-gcc -m32 -print-multi-lib
.

But i need to understand how it can works :D.
I don't see any gcc/config/config.h.
Can you give me some tips to understand how it's works andrew ?

Regards,
Yves


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to