Date: Thu, 11 Jul 2002 13:48:25 +1000 From: Peter Grehan <peterg@ptree32.com.au> To: Andy <andy@wantpackets.com> Cc: freebsd-ppc@FreeBSD.ORG Subject: Re: current -CURRENT and compiling powerpc port Message-ID: <3D2D0009.1710D79F@ptree32.com.au> References: <1026349980.3d2cdb9c1599a@www.wantpackets.com>
index | next in thread | previous in thread | raw e-mail
> Anything to be done? I briefly searched the list archives but did not find > new compilation instructions. The Oct 18 toolchain port should still be OK, except that it defines __NetBSD__ , which breaks the USB code. I'm using gcc-3.1/binutils-2.12.1 for the kernel, built from stock gcc source. For gcc, the following config was used: ./configure --target=powerpc-freebsd5 --program-prefix=powerpc-fbsd- --with-gnu-as --with-gnu-ld --disable-threads --disable-shared Note that you have to specify powerpc-freebsd5, and not just powerpc-freebsd. Also, as I mentioned in a previous email, the compiler defines _BIG_ENDIAN, which has to be undone in powerpc/include/endian.h. For binutils, it was a bit easier: ./configure --target=powerpc-freebsd5 --program-prefix=powerpc-fbsd- later, Peter. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ppc" in the body of the messagehome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D2D0009.1710D79F>
