This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Makefile support requested - enabling multilib for target
On Fri, Dec 26, 2008 at 5:07 PM, NightStrike <nightstrike@gmail.com> wrote:
> On Sun, Dec 21, 2008 at 2:38 PM, NightStrike <nightstrike@gmail.com> wrote:
>> Currently, gcc doesn't support a multilib build for win64. I have
>> been looking at how to do this, and have so far come up with a
>> beginning to a solution. The work done thus far is part of this PR:
>>
>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38294
>>
>> The current blocker is in building libgcc. At some point in building
>> libgcc, it gets down to the final compilation. In doing so, gcc is
>> invoked with a -B option pointing to the 32-bit lib directory instead
>> of the 64-bit lib directory. This works for building the 32-bit
>> libgcc, but not the 64-bit default version.
>>
>> From what I can tell, the -B option pointing to the 32-bit lib
>> directory is in $(GCC_FOR_TARGET). Is that where it's supposed to be?
>> Is there a way to make gcc search the right directory first (or at
>> all)? What steps am I missing for enabling the multilib build?
>>
>> For reference, the system root and all of its libraries are installed into:
>>
>> $prefix/$target/lib and $prefix/$target/lib64, the latter of course
>> being the 64-bit version of all the libs.
>>
>
> Ping
>
Ping