Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 1998 09:16:32 -0500 (EST)
From:      Jamie Bowden <jamie@itribe.net>
To:        Wes Peters <wes@softweyr.com>
Cc:        Greg Lehey <grog@lemis.com>, Paolo Di Francesco <paipai@tin.it>, freebsd-sparc@FreeBSD.ORG
Subject:   Re: [Ultra] Compiler, again
Message-ID:  <Pine.SGI.3.96.981130091309.4815D-100000@animaniacs.itribe.net>
In-Reply-To: <365FA073.BD5F78AF@softweyr.com>

next in thread | previous in thread | raw e-mail | index | archive | help


I've got an Origin200 laying around not doing much (outside of running
oracle anyway :) I can build the toolchain on if someone wants to give
some instructions.  It's not Sun, but it is 64 bit.  I also have an LX
doing nothing (literally) which I can put a few things on.  Not 64 bit,
but it is a sparc.

On Sat, 28 Nov 1998, Wes Peters wrote:

> Greg Lehey wrote:
> > 
> > On Saturday, 28 November 1998 at  2:16:46 +0000, Paolo Di Francesco wrote:
> >
> > > P.P.S. Rember: I haven't an Ultra. This means "crosscompiling" and I don't 
> > > know if we can use gcc for crosscompiling 8(
> > 
> > Yes, gcc can be compiled as a cross-compiler.
> 
> It's really quite simple; I make my living with GCC cross-compilers.
> 
> There are a few caveats; a GCC sparc cross-compiler running on a 
> non-sparc host generates slightly different code from a sparc-
> hosted compiler; I have no idea why.  Both generate valid code, just
> slightly different.
> 
> Also, GCC code for 64-bit processors is better optimized when compiled
> on a 64-bit system.  IIRC, the 64-bit hosts use larger window sizes
> for register scheduling and peephole optimization.
> 
> Neither of these should have any effect on an initial porting effort.
> Once the kernel and userland are stable enough to support ongoing
> development, they become moot points.
> 
> The best development environment for this is whatever you have:
> FreeBSD/386, FreeBSD/AXP, NetBSD/SPARC, Solaris SPARC, whatever.
> Running GCC cross-compilers on Atari STs running GEMDOG is a 
> possibility, and better than not doing anything.  ;^)


Jamie Bowden

-- 
Systems Administrator, iTRiBE.net

If we've got to fight over grep, sign me up.  But boggle can go.
	-Ted Faber (on Hasbro's request for removal of /usr/games/boggle)


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?Pine.SGI.3.96.981130091309.4815D-100000>