From owner-freebsd-sparc Mon Jan 24 14:45:27 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from bsd4us.org (cn386092-a.newcas1.de.home.com [24.40.46.90]) by hub.freebsd.org (Postfix) with ESMTP id 2A26A152BE for ; Mon, 24 Jan 2000 14:45:23 -0800 (PST) (envelope-from lgriffin@BSD4US.ORG) Received: from localhost (lgriffin@localhost) by bsd4us.org (8.9.3/8.9.3) with ESMTP id QAA16314 for ; Mon, 24 Jan 2000 16:48:08 -0500 (EST) Date: Mon, 24 Jan 2000 16:48:07 -0500 (EST) From: Lyndon Griffin To: freebsd-sparc@freebsd.org Subject: Re: Curious (cross-compiler) In-Reply-To: <20000124193218.A4172@freebsd1.cimlogic.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I follow that, and it makes sense to me, except - there is no defined target for "freebsd-sparc" without hacking the compiler all to hell... so, I've been trying to target a netbsd-sparc machine. I'm still having trouble w/ the compiler itself, but I have bintools built. My thinking was that it would be infinitely easier to use the compiler on a netbsd-sparc machine than to build a cross-cc from freebsd-i386 to netbsd-sparc... It would at least save a little on the building of the (initial) toolchain. But, thanks for being the first to step forward and answer this! <:) Lyndon Griffin http://www.bsd4us.org On Mon, 24 Jan 2000, John Birrell wrote: > On Thu, Jan 20, 2000 at 06:59:50PM -0500, Lyndon Griffin wrote: > > My thinking may be *really* screwy here, and - if so - I hope somebody > > will step forward to correct me. > > > > What is the purpose of building a cross-compiler if we have a running OS > > on the target platform? Wouldn't it be simpler to just build everything > > on the target platform using the existing OS? > > Try compiling FreeBSD/i386 sources on a non-FreeBSD/i386 system and you > will understand why. The compiler you use "knows" about the system it > is compiling for. > > -- > John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ > john.birrell@cai.com john.birrell@opendirectory.com.au > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-sparc" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message