From owner-freebsd-arch Thu Nov 18 9:22: 0 1999 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id 0BF0415120 for ; Thu, 18 Nov 1999 09:21:55 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id SAA07836 for ; Thu, 18 Nov 1999 18:21:54 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id SAA63741 for freebsd-arch@freebsd.org; Thu, 18 Nov 1999 18:21:53 +0100 (MET) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (Postfix) with ESMTP id D416215433 for ; Thu, 18 Nov 1999 09:21:26 -0800 (PST) (envelope-from tlambert@usr02.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.9.3/8.9.3) id KAA29564; Thu, 18 Nov 1999 10:20:41 -0700 (MST) Received: from usr02.primenet.com(206.165.6.202) via SMTP by smtp03.primenet.com, id smtpdAAAh7aGL5; Thu Nov 18 10:20:32 1999 Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id KAA14611; Thu, 18 Nov 1999 10:20:47 -0700 (MST) From: Terry Lambert Message-Id: <199911181720.KAA14611@usr02.primenet.com> Subject: Re: Cross compilation goals. To: marcel@scc.nl (Marcel Moolenaar) Date: Thu, 18 Nov 1999 17:20:47 +0000 (GMT) Cc: arch@freebsd.org In-Reply-To: <3833C40B.EC5290CF@scc.nl> from "Marcel Moolenaar" at Nov 18, 99 10:16:59 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > My history of thoughts (in no particular order): > > The sigset_t changes revealed 2 problems: > 1) I wasn't able to at least compile any changes I made to the Alpha > port, because I didn't have an Alpha during that time, > 2) makeworld broke because the newly compiled tools were made against > the new sigset_t while the system wasn't using it yet. > > If we fix 1), then 2) is gone too, right? right! One non-obvious issue, until you try to compile the system with a different GCC or EGCS compiler than the default, is that the .mk files override the correct compiler defaults with incorrect system defaults for include and compiler library paths when DESTDIR is set. Obviously, you have to set this for a proper cross-compile. Another issue is that the GCC/EGCS code "front ending" is not very well integrated; you end up with huge amounts of installed headers, even if you are cross-compiling the same OS on another platform. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message