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]

Re: sparc64-linux-gcc questions


On Apr 16, 2001, Sean Callanan <sc843@bard.edu> wrote:

> What combination of HOST, TARGET and BUILD do I need to get a
> sparc64-linux-> sparc64-linux gcc, with the name sparc64-linux-gcc?

Since this would be a native compiler, I suppose it wouldn't be
prefixed with the target name.  You'd probably have to configure
--program-prefix=sparc64-linux-

> Which gcc cvs version (and which libc version) would be best to get
> a working version of glibc for sparc64-linux?  Right now, I'm
> getting lots of eliminate_regs problems.

To the best of my knowledge, the most stable sparc64-compatible
compiler ever made publicly available is the one that came with the
latest release of Red Hat Linux for sparc.  That's because (as far as
I understand it, but don't take my word for it :-) that version had
the subreg_byte patch, without which there's just no way for GCC to
generate correct code for sparc64.  This patch was recently merged in
the GCC CVS tree, so the latest development snapshot of GCC may just
work (hmm, probably not; development snapshots have been coming out of
the 3.0 branch, but IIRC the patch is only in mainline).  Another
alternative is the GCC version available at rawhide.redhat.com.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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