From owner-freebsd-arch Tue Nov 23 8:57:52 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 63C87150EF for ; Tue, 23 Nov 1999 08:57:33 -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 RAA13832 for ; Tue, 23 Nov 1999 17:57:31 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id RAA27071 for freebsd-arch@freebsd.org; Tue, 23 Nov 1999 17:57:30 +0100 (MET) Received: from mail.scc.nl (node1374.a2000.nl [62.108.19.116]) by hub.freebsd.org (Postfix) with ESMTP id 7E410150FE for ; Tue, 23 Nov 1999 08:56:58 -0800 (PST) (envelope-from freebsd-arch@scc.nl) Received: (from daemon@localhost) by mail.scc.nl (8.9.3/8.9.3) id RAA69428 for arch@FreeBSD.org; Tue, 23 Nov 1999 17:42:44 +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 17:42:03 +0100 From: Marcel Moolenaar Message-ID: <383AC3DB.1739948B@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <383A95CA.AC00E8B@scc.nl>, <19991123080738.B42803@dragon.nuxi.com> Subject: Re: Cross-building (was: cross compilation goals) Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David O'Brien wrote: > > On Tue, Nov 23, 1999 at 02:25:30PM +0100, Marcel Moolenaar wrote: > > Index: contrib/egcs/gcc/gcc.c > ... > > - /* first hint is /etc/objformat */ > > - FILE *fp = fopen("/etc/objformat", "r"); > > We should switch to getobjformat(3) here, and remove the code for > checking /etc/objformat and $OBJFORMAT directly. It's certainly much cleaner to use getobjformat in the first place. In that case, the question will be: should getobjformat use /etc/objformat? -- 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