I got a working gcc by exporting ABI=32 so that MPIR is 32 bits and 
issueing "sparc32 make" rather than "make" so that GCC does not try to 
build 64 bits apps by default, the build is now going one with other spkg.

On Thursday, February 28, 2013 9:55:54 PM UTC+1, Jeroen Demeyer wrote:
>
> On 2013-02-28 17:12, Jean-Pierre Flori wrote: 
> > For info, I'm trying to build Sage on a Debian sparc64, and it failed 
> > because by default gcc produces 32 bits objects but then MPIR (and MPFR 
> > and MPC) decided to be smart enough to build as 64 bits, and then when 
> > Sage tried to build its own GCC, which is 32 bits, it failed... 
>
> If this is a Linux system, you can try building (from scratch!) using 
> $ linux64 make 
>
> Alternatively, set 
> CONFIGURE_FLAGS="--build=whatever-it-needs-to-be-for-sparc64" and try 
> building GCC. 
>
> Let me know if any of these approaches works. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to