From owner-freebsd-hackers Fri Feb 25 10:31:36 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp7.atl.mindspring.net (smtp7.atl.mindspring.net [207.69.128.51]) by hub.freebsd.org (Postfix) with ESMTP id C89BD37BD39 for ; Fri, 25 Feb 2000 10:31:20 -0800 (PST) (envelope-from jhix@mindspring.com) Received: from jhix.mindspring.com (user-33qtiiv.dialup.mindspring.com [199.174.202.95]) by smtp7.atl.mindspring.net (8.9.3/8.8.5) with ESMTP id NAA25752; Fri, 25 Feb 2000 13:31:11 -0500 (EST) Received: from localhost (jhix@localhost [127.0.0.1]) by jhix.mindspring.com (8.9.3/8.9.2) with ESMTP id KAA51656; Fri, 25 Feb 2000 10:34:49 -0800 (PST) (envelope-from jhix@mindspring.com) To: jja@nxos.com Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: powerpc cross compiler? In-Reply-To: <00cd01bf7fa0$b6037cc0$e82da6d1@nxos.com> References: <00cd01bf7fa0$b6037cc0$e82da6d1@nxos.com> X-Mailer: Mew version 1.94.1 on XEmacs 21.1 (Bryce Canyon) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000225103449I.jhix@mindspring.com> Date: Fri, 25 Feb 2000 10:34:49 -0800 From: W Gerald Hicks X-Dispatcher: imput version 990905(IM130) Lines: 43 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: "Jason Allum" Subject: powerpc cross compiler? Date: Fri, 25 Feb 2000 09:58:01 -0500 > i'm trying to setup gcc 2.95.2 as a powerpc (7400/G4) cross compiler on > freebsd 3.4-release... i'm having no luck, as it keeps bombing out when it > tries to build libgcc.a... anyone got any ideas? alpha people? ;) > Hi Jason, You need some header files :-) You might pick up newlib-1.8.2.tar.gz and use the headers from there. For my own embedded work I contruct a "crosstree" and build the binutils, gcc and newlib components as an integral release the same way Cygnus builds their GNUpro tool chains. You can get an outdated version of their script from: ports/devel/crossm68k-devel/scripts (this will need some tweaking to make it work with the new components) The distfiles you want are: gcc-core-2.95.tar.gz (FSF) binutils-2.9.1.tar.gz (FSF) newlib-1.8.2.tar.gz (Cygnus) gdb-4.18.tar.gz (FSF - optional but has a useful simulator) I use powerpc-eabi for my ${TARGET} since I'm doing embedded development, don't know what to recommend for yours. I'd also recommend installing David Obriens updated GCC from ports first and using that to build the crosstree. Good Luck, Jerry Hicks jhix@mindspring.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message