- To: gcc-help@xxxxxxxxxxx
- Subject: Re: Trouble with building multilib GCC (MinGW)
- From: niXman <i.nixman@xxxxxxxxx>
- Date: Tue, 13 Mar 2012 15:05:08 +0400
- Comment: DKIM? See http://www.dkim.org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1332241532; h=Comment: DomainKey-Signature:Received:Received:Received:Received: MIME-Version:Received:Received:In-Reply-To:References:Date: Message-ID:Subject:From:To:Content-Type: Content-Transfer-Encoding:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=J77ievyp0hjy8Kg0ZxZaFCLqnq4=; b=bUWxQeLyg77Rbt6 q25CtA9XjulXwp1+FJfhv72yfl/fSXkF4mW2fug+HorV61WcGYNOw0LGRgLvvseN AIYOalJjr+VudDHY21cAd4Xav70lqglu7Y11hDqgjBNQAzAghuaz+V98zJ+Zpgqp hHBvkGojox+xwgRt6bIcLlmqvlUE=
- In-reply-to: <mcr62eah2go.fsf@dhcp-172-18-216-180.mtv.corp.google.com>
2012/3/12 Ian Lance Taylor <iant@xxxxxxxxxx>:
>
> To be honest I don't see that in the pastebin. The use of -m64 should
> cause the multilib support to kick in, and in particular should cause
> the gcc driver to add /../lib64 to the end of the -L paths. I guess
> that is not happening, but I can't see it from the log.
In the fourth line uccurs linking 64bit libgcc_s_sjlj-1.dll. In this
you can see by searching for 'm64'. Also, in the fourth line you can
see the path used to search for 64bit CRT, and make sure that the path
is used only for 32bit CRT.
>
> It might be helpful to show us the output of each of these commands:
>
> gcc --print-multi-lib
$ i686-w64-mingw32-gcc --print-multi-lib
.;
64;@m64
> gcc --print-multi-directory
$ i686-w64-mingw32-gcc --print-multi-directory
.
> gcc --print-multi-directory -m32
$ i686-w64-mingw32-gcc --print-multi-directory -m32
.
> gcc --print-multi-directory -m64
$ i686-w64-mingw32-gcc --print-multi-directory -m64
64
>
> Ian
--
Regards,
niXman
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]