Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Dec 1999 16:00:16 +0100
From:      Marcel Moolenaar <marcel@scc.nl>
To:        current@FreeBSD.org
Subject:   Re: make world is failed on pc98
Message-ID:  <38526700.70C5CBF@scc.nl>
References:  <19991211230552P.nyan@dd.catv.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38526700.70C5CBF>