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]

OT: sparc, sparcv9, & sparc64 [Was: What about sparcv9-linux as target for configure?]


On Thu, Sep 12, 2002 at 06:50:48PM +0200, Robert Schiele wrote:
> On Thu, Sep 12, 2002 at 11:55:34AM +0200, Christian Jönsson wrote:
> > I just tried building gcc+binutils trunk with target sparcv9-linux but
> > configuer bombs out with diagnostics that it's not a supported target.
> > 
> > Is this what I shoud expect or might I have something else strange
> > going on?
> 
> This is what you should expect. sparcv9 is called sparc64 on linux.

uhm, I'm actually a bit confused here... as I understand it, and right
now it seems I understand this wrong, is that 'sparc' is the same as
sparcv7 actually with for example sun4c (any more?). now, there would
naturally be a sparcv8 also perhaps (like sun4d and sun4m) and there
is the sparcv9 like the sun4u. Now, where does sparc64 come in? are we
saying sparc64 *is* sparcv9? nah... then sparc32 would be sun4{c,d,m},
right?

and, looking at how redhat/rawhide/aurora sets it's compier options:

optflags: sparc -O2 -m32 -mtune=ultrasparc
optflags: sparcv9 -O2 -m32 -mcpu=ultrasparc
optflags: sparc64 -O2 -m64 -mcpu=ultrasparc

I'd say sparc64 and sparcv9 is not the same...

and btw aurora's suggestion to have

optflags: sparcv8 -O2 -m32 -mcpu=v8 -mtune=ultrasparc

is perhaps coming also (mainly for multiplication heavy stuff like
openssl and glibc or rather libm there).
 
> > This was on a Aurora SPARC Linux 0.32 build (Nashville) Ultra1
> > sun4u system with these packages:
> > 
> > binutils-2.11.93.0.2-11sparc
> > dejagnu-1.4.2-6 (from rawhide)
> > gcc-2.96-111
> > glibc-2.2.5-36
>   ^^^^^^^^^^^^^^
> Note that you need 64 bit glibc to build a 64 bit compiler!

right sorry, there is of course... glibc64-2.2.5-36 also installed...

Cheers,

/ChJ


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