From owner-freebsd-sparc Mon Jan 24 0:28: 0 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (Postfix) with ESMTP id 84852151C3 for ; Mon, 24 Jan 2000 00:27:51 -0800 (PST) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.9.3/8.9.1) id TAA09854; Mon, 24 Jan 2000 19:32:19 +1100 (EST) (envelope-from jb) Date: Mon, 24 Jan 2000 19:32:19 +1100 From: John Birrell To: Lyndon Griffin Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: Curious (cross-compiler) Message-ID: <20000124193218.A4172@freebsd1.cimlogic.com.au> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: ; from Lyndon Griffin on Thu, Jan 20, 2000 at 06:59:50PM -0500 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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