From owner-freebsd-arch Tue Nov 23 11:28:41 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 6701D153C2 for ; Tue, 23 Nov 1999 11:28:36 -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 UAA15484 for ; Tue, 23 Nov 1999 20:27:15 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id UAA28685 for freebsd-arch@freebsd.org; Tue, 23 Nov 1999 20:27:15 +0100 (MET) Received: from mail.scc.nl (node1374.a2000.nl [62.108.19.116]) by hub.freebsd.org (Postfix) with ESMTP id D747C14A2D for ; Tue, 23 Nov 1999 11:26:57 -0800 (PST) (envelope-from freebsd-arch@scc.nl) Received: (from daemon@localhost) by mail.scc.nl (8.9.3/8.9.3) id UAA09672 for arch@FreeBSD.org; Tue, 23 Nov 1999 20:25:50 +0100 (CET) (envelope-from freebsd-arch@scc.nl) Received: from GATEWAY by dwarf.hq.scc.nl with netnews for arch@FreeBSD.org (arch@FreeBSD.org) To: arch@freebsd.org Date: Tue, 23 Nov 1999 20:25:45 +0100 From: Marcel Moolenaar Message-ID: <383AEA39.853F353B@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <38344691.BF54DAD@scc.nl>, <199911231911.MAA02934@usr06.primenet.com> Subject: Re: Cross compilation goals. Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Terry Lambert wrote: > > > > 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. > > > > I'm not sure I understand your point. Do you mean that installing the > > headers in the object-tree should be avoided if they are the same as the > > ones installed on the host? > > No. Although that is a good point: The headers should be included > from their location in the source tree, not from the host, and not > from the object tree. The problem with this is that some headers need to be generated and that the layout of the source tree is incompatible with layout of /usr/include. > > Or that different architectures can share the same set of headers? > > Different machine architectures running the same OS. We can't use the include files of the machine we are running on. They may be (totally) different from those of the machine we are trying to build (see below) > > The second case is not possible, so I assume you don't actually ment > > that :-) > > The second case is perfectly possible, and reasonable in fact. Include files of the same OS and version, but for different architectures are in general different for the machine dependent parts and sometimes even for the machine independent parts. How do you think we can share those headers? -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ The FreeBSD project mailto:marcel@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message