This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/42518] Alignment issue prevents building 64 bit RTS on Snow Leopard



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]