From owner-freebsd-sparc Sun Mar 24 12:27:48 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by hub.freebsd.org (Postfix) with ESMTP id 20AE637B404 for ; Sun, 24 Mar 2002 12:27:44 -0800 (PST) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.3/8.11.3) with ESMTP id g2OKRho42950 for ; Sun, 24 Mar 2002 12:27:43 -0800 (PST) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.6/8.11.0) id g2OKRdc01767; Sun, 24 Mar 2002 12:27:39 -0800 (PST) (envelope-from jdp) Date: Sun, 24 Mar 2002 12:27:39 -0800 (PST) Message-Id: <200203242027.g2OKRdc01767@vashon.polstra.com> To: sparc@freebsd.org From: John Polstra Subject: Re: Questions regarding CVSup port to FreeBSD/sparc64 In-Reply-To: <20020323201445.A26952@dragon.nuxi.com> References: <20020323131128.A16936@dragon.nuxi.com> <200203240125.g2O1PvD00573@vashon.polstra.com> <20020323201445.A26952@dragon.nuxi.com> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In article <20020323201445.A26952@dragon.nuxi.com>, David O'Brien 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