From owner-freebsd-current Sat Dec 11 7:27:44 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail.scc.nl (node1374.a2000.nl [62.108.19.116]) by hub.freebsd.org (Postfix) with ESMTP id 2D30514F60 for ; Sat, 11 Dec 1999 07:27:41 -0800 (PST) (envelope-from freebsd-current@scc.nl) Received: (from daemon@localhost) by mail.scc.nl (8.9.3/8.9.3) id QAA93287 for current@FreeBSD.org; Sat, 11 Dec 1999 16:00:18 +0100 (CET) (envelope-from freebsd-current@scc.nl) Received: from GATEWAY by dwarf.hq.scc.nl with netnews for current@FreeBSD.org (current@FreeBSD.org) To: current@FreeBSD.org Date: Sat, 11 Dec 1999 16:00:16 +0100 From: Marcel Moolenaar Message-ID: <38526700.70C5CBF@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <19991211230552P.nyan@dd.catv.ne.jp> Subject: Re: make world is failed on pc98 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Takahashi Yoshihiro wrote: > +.if ${MACHINE} == "pc98" && ${OBJFORMAT} == "elf" > +USRDIRS+= usr/libexec/aout > +.endif I don't think you need to test for OBJFORMAT. Also, include MACHINE_ARCH in case of cross-building. eg: .if ${MACHINE_ARCH} == "i386" && ${MACHINE} == "pc98" > +.if ${MACHINE} == "pc98" && ${OBJFORMAT} == "elf" > +_aout_tools= usr.bin/size usr.bin/strip gnu/usr.bin/as gnu/usr.bin/ld > +.endif Same here. > .for _tool in ${_strfile} gnu/usr.bin/binutils usr.bin/objformat \ > - usr.bin/yacc gnu/usr.bin/bison gnu/usr.bin/cc > + usr.bin/yacc gnu/usr.bin/bison gnu/usr.bin/cc ${_aout_tools} Don't build anything after cc has been built, because cc will be a cross-compiler when cross-building. Try putting it as early as possible. Other than that: Go ahead! BTW: Is there a special reason to have boot2 in aout? -- 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-current" in the body of the message