From owner-freebsd-ppc Thu Jun 14 2:24:24 2001 Delivered-To: freebsd-ppc@freebsd.org Received: from mail.jeamland.net (rafe.jeamland.net [203.18.243.114]) by hub.freebsd.org (Postfix) with ESMTP id AE2EF37B401 for ; Thu, 14 Jun 2001 02:24:11 -0700 (PDT) (envelope-from benno@FreeBSD.org) Received: by mail.jeamland.net (Postfix, from userid 1000) id 11D0F70606; Thu, 14 Jun 2001 19:23:59 +1000 (EST) Date: Thu, 14 Jun 2001 19:23:59 +1000 From: Benno Rice To: Henri Michelon Cc: freebsd-ppc@FreeBSD.org Subject: Re: Toolchain Message-ID: <20010614192359.B84859@rafe.jeamland.net> References: <992507635.3b2876f31a118@webmail.iiriam.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="7ZAtKRhVyVSsbBD2" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <992507635.3b2876f31a118@webmail.iiriam.fr>; from Henri.Michelon@iiriam.fr on Thu, Jun 14, 2001 at 10:33:55AM +0200 Sender: owner-freebsd-ppc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --7ZAtKRhVyVSsbBD2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 14, 2001 at 10:33:55AM +0200, Henri Michelon wrote: > Hello Benno, >=20 > Great work ! > Just a question: I want to try your code on my Macs (Apple G4 & UMAX Puls= ar) > but i'm new to OS hacking and cross-compiling. Can you write a sort of ho= w-to > compile/use the ppc port ? Or just a description of your own procedure ? Ok, firstly not all the code you need's in the repository at the moment. There's one more commit pending, I'm just waiting on an all-clear for it. Once you've got the code, I'm actually compiling my kernels on a Mac running NetBSD as building the cross toolchain turned out to be too much hassle. David O'Brien's working on the bits for a toolchain but they're not ready yet. If you're happy to run up NetBSD on one of your Macs though, that'll handle building the kernel with a bit of tweakage. It basically boils down to differences in environment between NetBSD and FreeBSD and a few compiler quirks that are fairly easy to work around. The most fun part is putting together a FreeBSD /usr/include directory to compile off, and forcing gcc to use that. The other option is that once I get a bit further I can probably start putting kernel images up for download that you can try out and send me feedback on if you want. I'm netbooting the images at the moment, but that's not hard to do. It requires having a DHCP server and a TFTP server. --=20 Benno Rice benno@FreeBSD.org --7ZAtKRhVyVSsbBD2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjsogq8ACgkQbQx7xhW+Eg52BQCg3IYgQ6Y52ETzCqRxgmZUzFg2 xGEAoOOZNfyOYIhWU+wpHnzZywj/rT0U =dT18 -----END PGP SIGNATURE----- --7ZAtKRhVyVSsbBD2-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ppc" in the body of the message