This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/42518] Alignment issue prevents building 64 bit RTS on Snow Leopard
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Dec 2009 19:29:45 -0000
- Subject: [Bug ada/42518] Alignment issue prevents building 64 bit RTS on Snow Leopard
- References: <bug-42518-303@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from ebotcazou at gcc dot gnu dot org 2009-12-29 19:29 -------
> I then try to build GCC4.4.2[x86_64-apple-darwin10.2.0] using
> GCC4.4.2[i386-apple-darwin10.2.0], with the reported results.
>
> [...]
>
> I've been using --build=x86_64-apple-darwin10.2.0 to indicate that I want to
> build a 64-bit compiler, is that not the right method?
--build=xxx means you're using a xxx compiler to build. Since you apparently
don't have a x86_64 compiler at hand but only a i386, you cannot do that.
You first need to build a i386 -> x86-64 cross-compiler (--host=i386-apple-*
--target=x86_64-apple-*) with the base i386 compiler and then use the resulting
compiler to build a native x86-64 compiler (--build=x86_64-apple-*).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42518