From owner-freebsd-alpha Fri Apr 28 15:10: 3 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (Postfix) with ESMTP id 0CD5637B593 for ; Fri, 28 Apr 2000 15:09:57 -0700 (PDT) (envelope-from tlambert@usr08.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.9.3/8.9.3) id PAA16220; Fri, 28 Apr 2000 15:05:53 -0700 (MST) Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp02.primenet.com, id smtpdAAAqeaywF; Fri Apr 28 15:05:31 2000 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id PAA03486; Fri, 28 Apr 2000 15:05:35 -0700 (MST) From: Terry Lambert Message-Id: <200004282205.PAA03486@usr08.primenet.com> Subject: Re: Building powerpc-freebsd compilers on ix86-freebsd To: bwithrow@nortelnetworks.com (Robert Withrow) Date: Fri, 28 Apr 2000 22:05:35 +0000 (GMT) Cc: alpha@FreeBSD.ORG, bwithrow@engeast.BayNetworks.COM In-Reply-To: <200004272231.SAA20783@pobox.engeast.BayNetworks.COM> from "Robert Withrow" at Apr 27, 2000 06:28:57 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I'm looking for guidance on generating cross compilers for > a powerpc-freebsd target on a ix86-freebsd host. I'm assuming that > the alpha freebsd port developers had to do a similar thing. > > I've scanned through the gcc-2.95.2 core distribution and I > don't see anything in it for freebsd on alphas, so I'm at a > loss to understand what works for the alpha. (Did the necessary > changes not make it back into the gcc codestream?) > > I see openbsd and some netbsd stuff for alpha (and powerpc) but > it isn't clear what is important for freebsd and what isn't. > > Any help would be appreciated. Please mail to me directly. In my personal experience, I used GCC on AIX on PPC to do the work. My suggestion would be to host the port starting on NetBSD for PPC, now that it exists, and work toward a replacement kernel first, from there. That is what I believe the FreeBSD Alpha people did. This gives you the same tool chain ad roughly the same environment that you are targetting. Is this an iMac based port? I worked on a Motorolla PowerSTAC based port (PPCBug instead of Open Firmware), which I had booting single user, before I moved from Tucson and had to send the loaner hardware back to Motorolla... if you can finde a PowerSTAC, I might be able to mount it up and get you the (~3 year old) code, if you think it would help. Pretty much, though, I'd bet you would be better off with a modern NetBSD that boots multiuser instead of an antique FreeBSD that boots single user. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message