From owner-freebsd-sparc Sun Nov 29 09:56:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA18328 for freebsd-sparc-outgoing; Sun, 29 Nov 1998 09:56:53 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA18321 for ; Sun, 29 Nov 1998 09:56:52 -0800 (PST) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.9.1) with ESMTP id MAA45626; Sun, 29 Nov 1998 12:58:50 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Sun, 29 Nov 1998 12:58:50 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: Wes Peters cc: sparc@FreeBSD.ORG Subject: Re: crt0.o (was) Re: Huzzah! In-Reply-To: <3660D21F.34DC3F73@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 On Sat, 28 Nov 1998, Wes Peters wrote: > > I'm also going to keep a log of that flags/things have to be passed to > > what, to actually bootstrap the sparc devel on i386. > > > > Do you have any other guidelines that i might follow to make a better port > > and avoid pitfalls? (ie. keeping logs and diffs) > > I've been attempting to build a cross-development tree with binutils > 2.9.1 and egcs-1.1b, Greg Lehey gave me a poke about this. I didn't > realize the sparc64 code was in such bad shape. Ugh, what a mess! > > I think I've got it building now; I'll keep track of what I had to > symlink, copy, and change if it actually works. ugh, my problem with using a newer compiler is that the two or three times i've brought up using a newer compiler on the lists i've been totally shot down. I want the work done to be accepted, not rejected because it uses a compiler that core can't accept. > > I kinda think setting up a single user cvs tree is overkill at the moment > > :) any suggestions? > > Do it anyhow. It only takes a few minutes, and you can then share > what you have with everyone else through pserver. Problem is that i'm working at home (dialup) but i may be able to get a cvs server up at work :) > > I need to find some docs or trace through some code to understand the ABI > > of sparc-elf (ie. which registers are temporary, arguments, globals, > > reserved) Working on it... > > Looking at the NetBSD code would be helpful on this. There is no good > reason to differ from them; this will help our future NetBSD/OpenBSD > portability. > > SPARC registers are really different from the Intel world. ;^) The asm code is neat-o, I really like RISC asm, it's very elegant. -Alfred > -- > "Where am I, and what am I doing in this handbasket?" > > Wes Peters Softweyr LLC > http://www.softweyr.com/~softweyr wes@softweyr.com > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message