Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2000 10:34:49 -0800
From:      W Gerald Hicks <jhix@mindspring.com>
To:        jja@nxos.com
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: powerpc cross compiler?
Message-ID:  <20000225103449I.jhix@mindspring.com>
In-Reply-To: <00cd01bf7fa0$b6037cc0$e82da6d1@nxos.com>
References:  <00cd01bf7fa0$b6037cc0$e82da6d1@nxos.com>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Jason Allum" <jja@nxos.com>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000225103449I.jhix>