Subject: Re: Problem with make and signal.h
To: None <current-users@netbsd.org>
From: Jean-Edouard BABIN <listes@jeb.com.fr>
List: current-users
Date: 04/06/2003 21:01:01
Hi,

May be a little warning about -E on www.netbsd.org/Documentation/current/
would be usefull too :)

There is=20
"To build userland the first time:

mkdir /usr/obj
cd /usr/src
./build.sh -E -O /usr/obj -T /usr/tools build"

on 06/04/03 18:17, =AB=A0Alan Barrett=A0=BB <apb@cequrux.com> wrote:

> On Sun, 06 Apr 2003, Manuel Bouyer wrote:
>> You should use -E only if you really know what you're doing.
>=20
> But many non-experts seem to use expert mode, and then complain when
> they mess it up.  Perhaps this patch would help?
>=20
> --- build.sh    14 Mar 2003 05:22:50 -0000    1.95
> +++ build.sh    6 Apr 2003 16:15:26 -0000
> @@ -57,6 +57,9 @@
> ERROR: $@
> *** BUILD ABORTED ***
> ERRORMESSAGE
> +    if ${do_expertmode:-false} ; then
> +        echo >&2 "*** You used expert mode (-E).  Are you really an expe=
rt?"
> +    fi
> kill $toppid        # in case we were invoked from a subshell
> exit 1
> }
> @@ -266,7 +269,8 @@
>    -a arch    Set MACHINE_ARCH to arch (otherwise deduced from MACHINE)
>    -B buildId    Set BUILDID to buildId
>    -D dest    Set DESTDIR to dest
> -    -E        Set "expert" mode; disables some DESTDIR checks
> +    -E        Set "expert" mode; disables some DESTDIR checks.
> +        Should not be used by non-experts.
>    -j njob    Run up to njob jobs in parallel; see make(1)
>    -M obj    Set obj root directory to obj (sets MAKEOBJDIRPREFIX)
>    -m mach    Set MACHINE to mach (not required if NetBSD native)
>=20
>=20
> --apb (Alan Barrett)
>=20

--=20
Jean-Edouard BABIN
Mail: Jeb@jeb.com.fr
Web : www.Jeb.com.fr
IRC : Jeb @ Undernet