On Sun, Apr 5, 2009 at 12:01 PM, Joe Ciccone <[email protected]> wrote:
> Nathan Coulson wrote:
>> On Tue, Mar 31, 2009 at 9:48 AM, Nathan Coulson <[email protected]> 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.
>>
>>
>>

found what I needed, gcc/config/i386/t-linux64

"MULTILIB_OSDIRNAMES = ../lib ../lib/32

32bit and 64bit compiling seem to be working great.  [/usr/lib for
64bit, /usr/lib/32 for 32bit]
------
Location: Brittish Columbia, Canada
Timezone: PST (-8)
Webpage: http://www.nathancoulson.com
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org

Reply via email to