Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 1996 07:12:50 -0500
From:      rkw@dataplex.net (Richard Wackerbarth)
To:        "Rodney W. Grimes" <rgrimes@GndRsh.aac.dev.com>
Cc:        current@freebsd.org
Subject:   Re: Independent Test Results - UNBUILDABLE
Message-ID:  <v02140b03ae5c433d6eee@[208.2.87.4]>

next in thread | raw e-mail | index | archive | help
"Rodney W. Grimes" <rgrimes@GndRsh.aac.dev.com> writes:

>make bootstrap && make world
>should fix this one.... you can't expect make world for 2.2-current to
>run on 2.1.5 without first running the bootstrap target.  You'll also
>blow up some time way later, the fix for that is left as an excercise
>for the reader...

I can EXPECT it. Particularly when "world" starts out like this....
And I cannot "make bootstrap" without first "make mk"

It certainly looks as if the intention were "to run straight out of the box".

The problem is that in bootstrapping, you traditionally use only the most
primitive tools to get started. As an example "cp" is used for ${INSTALL}.
You also want the bootstrap makefiles to avoid any "fancy" features that
are not common in all versions of make.

Once you get past the bootstrap phase, you can then use those features all
you wish.

It seems that the present design has forgotten those design concepts.


world:
.if target(pre-world)
        @echo "--------------------------------------------------------------"
        @echo " Making 'pre-world' target"
        @echo "--------------------------------------------------------------"
        cd ${.CURDIR} && ${MAKE} pre-world
        @echo
.endif
        @echo "--------------------------------------------------------------"
        @echo " Making hierarchy"
        @echo "--------------------------------------------------------------"
        cd ${.CURDIR} && ${MAKE} hierarchy
        @echo
        @echo "--------------------------------------------------------------"
        @echo " Rebuilding /usr/share/mk"
        @echo "--------------------------------------------------------------"
        cd ${.CURDIR} && ${MAKE} mk
        @echo
        @echo "--------------------------------------------------------------"
        @echo " Cleaning up the source tree"
        @echo "--------------------------------------------------------------"
.if defined(NOCLEAN)
        @echo "Not cleaning anything! I sure hope you know what you are doing!"
.else
        cd ${.CURDIR} && ${MAKE} ${CLEANDIR}
.endif
        @echo
.if !defined(NOOBJDIR)
        @echo "--------------------------------------------------------------"
        @echo " Rebuilding the obj tree"
        @echo "--------------------------------------------------------------"
        cd ${.CURDIR} && ${MAKE} obj
        @echo
.endif
        @echo "--------------------------------------------------------------"
        @echo " Rebuilding bootstrap tools"
        @echo "--------------------------------------------------------------"
        cd ${.CURDIR} && ${MAKE} bootstrap
        @echo
        @echo "--------------------------------------------------------------"
        @echo " Rebuilding tools necessary to build the include files"
        @echo "--------------------------------------------------------------"





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