Subject: Re: Problem with make and signal.h
To: Jean-Edouard BABIN <listes@jeb.com.fr>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: current-users
Date: 04/06/2003 21:42:48
Jean-Edouard BABIN wrote:
> May be a little warning about -E on www.netbsd.org/Documentation/current/
> would be usefull too :)
Oh, obvious error :) -E should definitely NOT be used for initial compilation.
I've changed the instructions to recommend build into DESTDIR followed
by ./build.sh install=/, and added description on when you might want
to use -E + potential dangers of -E mode.
The update should appaer on www.NetBSD.org within hour.
Thanks for pointing this out.
Jaromir
> There is
> "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, __Alan Barrett__ <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.
> >
> > But many non-experts seem to use expert mode, and then complain when
> > they mess it up. Perhaps this patch would help?
> >
> > --- 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 expert?"
> > + 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)
> >
> >
> > --apb (Alan Barrett)
> >
>
> --
> Jean-Edouard BABIN
> Mail: Jeb@jeb.com.fr
> Web : www.Jeb.com.fr
> IRC : Jeb @ Undernet
>
--
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.org/
-=- We should be mindful of the potential goal, but as the tantric -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow. Do not let this distract you.'' -=-