This is the mail archive of the gcc@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]

Re: Can't build ada/ada.ads in gcc-3.4.1 for sparc64-linux: stage1/xgcc Bus error


> uhm, well, this is tricky, right? From your comment, I suspect I need
> a 64-bit libgnat too, in the same way there is a 64-bit libgcc (and
> actually for libstdc++ as well when compiling 64-bit C++ things).

Yes, GNAT doesn't support the GCC multilib mechanism, so you can't build the 
64-bit GNAT compiler with the 32-bit GNAT compiler and -m64.  You need to 
cross-compile to sparc64-*-* from sparc-*-*, in which case you will probably 
run into http://gcc.gnu.org/PR16503.

> However, is 64-bit Ada possible in gcc-3.4.1?

On SPARC, not really, there are other problems.

-- 
Eric Botcazou


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