Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 1997 10:02:20 +0100 (MET)
From:      hans@brandinnovators.com (Hans Zuidam)
To:        dgy@rtd.com (Don Yuniskis)
Cc:        hackers@freebsd.org
Subject:   Re: GCC cross compiles
Message-ID:  <199702200902.KAA15089@truk.brandinnovators.com>
In-Reply-To: <199702200100.SAA10423@seagull.rtd.com> from Don Yuniskis at "Feb 19, 97 06:00:40 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> Don Yuniskis wrote:
>     However, am I correct in assuming that one can safely build
> *cross* compilers under reasonably recent FBSD releases using
> the latest GCC sources (i.e. host=FBSD2.1R, target=68k)?
> Has anyone done this and had decent success?
Yes, but be sure to get the cross-gcc patches at ftp.cygnus.com.
For example:

	cd gcc-2.7.2
	patch -p1 < ../gcc-cross-patch-2.7.2
	sh configure --host=i386-unknown-freebsd	\
		--target=m68k-coff	\
		--with-gnu-as	\
		--with-gnu-ld	\
		--prefix=/usr/cross

and so on...  Be warned that gcc takes a *very long* time to build
as it makes libraries for almost all possible variants of the M68K
family with and without floating point.

Regards,
				Hans

-- 
H. Zuidam                        E-Mail: hans@brandinnovators.com
Brand Innovators B.V.            P-Mail: P.O. Box 1377
de Pinckart 54                   5602 BJ Eindhoven, The Netherlands
5674 CC Nuenen                   Tel. +31 40 2631134, Fax. +31 40 2831138



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