Date: Wed, 24 Nov 1999 02:21:02 +0800 From: Peter Wemm <peter@netplex.com.au> To: Marcel Moolenaar <marcel@scc.nl> Cc: arch@freebsd.org Subject: Re: Cross-building (was: cross compilation goals) Message-ID: <19991123182102.330661CC7@overcee.netplex.com.au> In-Reply-To: Message from Marcel Moolenaar <marcel@scc.nl> of "Tue, 23 Nov 1999 17:42:03 %2B0100." <383AC3DB.1739948B@scc.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Marcel Moolenaar wrote:
> 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?
Yes, it should use getobjformat(3), and leave getobjformat(3) as it is.
Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991123182102.330661CC7>
