From owner-freebsd-hackers Thu Feb 20 01:04:47 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA00217 for hackers-outgoing; Thu, 20 Feb 1997 01:04:47 -0800 (PST) Received: from news.IAEhv.nl (root@news.IAEhv.nl [194.151.64.4]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id BAA00207 for ; Thu, 20 Feb 1997 01:04:43 -0800 (PST) Received: from truk.brandinnovators.com (uucp@localhost) by news.IAEhv.nl (8.6.13/1.63) with IAEhv.nl; pid 19195 on Thu, 20 Feb 1997 10:04:31 +0100; id KAA19195 efrom: hans@truk.brandinnovators.com; eto: UNKNOWN Received: by truk.brandinnovators.com (8.7.5/BI96070101) for <> id KAA15089; Thu, 20 Feb 1997 10:02:20 +0100 (MET) Message-Id: <199702200902.KAA15089@truk.brandinnovators.com> From: hans@brandinnovators.com (Hans Zuidam) Subject: Re: GCC cross compiles To: dgy@rtd.com (Don Yuniskis) Date: Thu, 20 Feb 1997 10:02:20 +0100 (MET) Cc: hackers@freebsd.org In-Reply-To: <199702200100.SAA10423@seagull.rtd.com> from Don Yuniskis at "Feb 19, 97 06:00:40 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > 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