- To: gcc-help@xxxxxxxxxxx, gcc@xxxxxxxxxxx
- Subject: Re: Trouble with building multilib GCC (MinGW)
- From: niXman <i.nixman@xxxxxxxxx>
- Date: Sun, 11 Mar 2012 19:28:43 +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=1332084553; h=Comment: DomainKey-Signature:Received:Received:Received:Received: MIME-Version:Received:Received:In-Reply-To:References:Date: Message-ID:Subject:From:To:Content-Type:Mailing-List:Precedence: List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=qFCXY3bB7wl6uW+Fnc8aDxPveK8=; b=iWtQR1uvl2nShMv lisOgT7HSRgM2CDKJ9BVRNLdQoCqyaUMEoVc3KMAKI6idls6rPgz66nwcm7T7Hj1 iNoMO5pTpkYmADTG/5z618HPp/DHcqKrngBYcFafTlWKxlHX15mSb5UEUFdJWH4X lVywjEwMjw44ea1A+nqyG3wY5Ouo=
- In-reply-to: <CAMPTgK1uGHSsHUGwe_0EQa=C4KCkYJUM5v0yV+UzKivp-t5H+g@mail.gmail.com>
> As far as I can tell from your original note, your build failed because
> you do not have a 64-bit version of the library -lkernel32. That is not
> a gcc library. I assume it is a Windows library. I don't know if you
> are missing a 64-bit version of the library, or if the bug is that you
> should not be linking against -lkernel32 for a 64-bit build. E.g.,
> perhaps there is a -lkernel64 on Windows, I don't know.
I have built both versions of CRT for 32 and 64 bit.
32bit CRT in <prefix>/<target>/lib path, and 64bit in <prefix>/<target>/lib64
If you see logfile: http://pastebin.com/KiGHVgVQ then you can see that
for linking 32bit and 64bit libgcc_s_sjlj-1.dll are used 32bit CRT.
If in Makefile for 64bit version I replace <prefix>/<target>/lib with
<prefix>/<target>/lib64 - linking is successfully.
I.e. the problem is that wrong Makefiles are created. I want to understand why?
Ping?
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]