From owner-freebsd-sparc Mon Nov 30 06:17:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA00759 for freebsd-sparc-outgoing; Mon, 30 Nov 1998 06:17:35 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from animaniacs.itribe.net (gatekeeper.itribe.net [209.49.144.254]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id GAA00753 for ; Mon, 30 Nov 1998 06:17:33 -0800 (PST) (envelope-from jamie@itribe.net) Received: from localhost (jamie@localhost) by animaniacs.itribe.net (950413.SGI.8.6.12/950213.SGI.AUTOCF) via SMTP id JAA04962; Mon, 30 Nov 1998 09:16:32 -0500 Date: Mon, 30 Nov 1998 09:16:32 -0500 (EST) From: Jamie Bowden To: Wes Peters cc: Greg Lehey , Paolo Di Francesco , freebsd-sparc@FreeBSD.ORG Subject: Re: [Ultra] Compiler, again In-Reply-To: <365FA073.BD5F78AF@softweyr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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