[Clfs-dev] Modifying 32bit library search path while building multilib GCC

Joe Ciccone jciccone at gmail.com
Sun Apr 5 12:01:18 PDT 2009


Nathan Coulson wrote:
> On Tue, Mar 31, 2009 at 9:48 AM, Nathan Coulson <conathan at gmail.com> wrote:
>   
>> I was tinkering with making a system where /lib /usr/lib was used for
>> 64bit, and /lib/32 and /usr/lib/32 was used for 32bit.
>>
>> I have modified the path to the ld loader, and included
>> /usr/lib/32:/usr/lib:/lib/32:/lib to the LIB_PATH, but gcc continues
>> to fail to compile.  I noted that it is during xgcc, with -B paths
>> pointing at /usr/lib [and -m32]
>>
>> I was curious how gcc determines where 32bit libraries
>>     
>
> I was curious how gcc determines where 32bit libraries are located
> while building gcc [-m32 works in /tools/bin/gcc]
>
>   
Quite a bit of it is hard coded based on target triplet. But most of it
can be tweaked with a specs file. I'd assume both gcc and binutils would
need to be patched.
>
>
>   




More information about the Clfs-dev mailing list