Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2002 12:27:39 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        sparc@freebsd.org
Subject:   Re: Questions regarding CVSup port to FreeBSD/sparc64
Message-ID:  <200203242027.g2OKRdc01767@vashon.polstra.com>
In-Reply-To: <20020323201445.A26952@dragon.nuxi.com>
References:  <XFMail.20020323101502.jdp@polstra.com> <20020323131128.A16936@dragon.nuxi.com> <200203240125.g2O1PvD00573@vashon.polstra.com> <20020323201445.A26952@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <20020323201445.A26952@dragon.nuxi.com>,
David O'Brien <obrien@FreeBSD.ORG> wrote:
> On Sat, Mar 23, 2002 at 05:25:57PM -0800, John Polstra wrote:
> > Note also that this is gcc 2.7.2.something -- pretty old.  I don't
> > know what kind of shape the sparc64 support was in at that time.
> 
> Egad!  Dismal, to answer your question.

Yeah, that's what I was afraid of.

> I hunted around in the sources and
> http://www.polstra.com/projects/freeware/ezm3/; but cannot figure
> out where ezm3 comes from.  Is it something you created from the DEC
> m3 distribution?

I created it from the PM3 distribution, which in turn was based on
the DEC distribution.

> By chance do you have the original GCC sources?  Since it is a Cygnus
> release, it has all kinds of "CYGNUS LOCAL" changes and diffing to FSF
> 2.7.2 wouldn't be the most useful thing.
> 
> If you can extract the M3 related diff, it really might be worth it to
> update to at least GCC 2.95.4 (or even EGCS 1.1.2, which *might* work).
> I noticed that CM3 uses GCC 2.95.2.

I know that the upgrade to GCC 2.95.2 for CM3 was pretty difficult.
I guess I can try the code generator from CM3 and see if it works
any better.  I kind of doubt its compatible with ezm3, though.

If it comes down to hacking gcc or upgrading the code generator beyond
what is already in CM3, I'm not going to have time for it in the
forseeable future.

> >   ../gcc/configure --host=i486-unknown-freebsdelf --target=sparc64-sun-elf
> 
> I assume you know the "sun" in your configure string is a NOOP.

Yep.

> Since we aren't Sun, I personally would use something else for the port.

I used "sun" since that's who makes the hardware.  Since it's a
noop, it doesn't really matter.

> sparc64-*-elf32 is your only hope.

Why "elf32" instead of just "elf"?  I don't see anything in the
config file that pays attention to what follows the "elf" part.

John
-- 
  John Polstra
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-sparc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203242027.g2OKRdc01767>