Subject: Re: Upgrading from 1.5.2 to -current?
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Brad Knowles <brad.knowles@skynet.be>
List: port-sparc
Date: 04/16/2002 13:35:46
At 3:01 PM +0200 2002/04/12, Manuel Bouyer wrote:

>  - use ./build.sh -D /usr/tmp/destdir (instead of
>    ./build.sh -d -D /usr/tmp/destdir)

	I'm trying this, but I got the following error:

cc  -O -o nbmake *.o
ERROR: build.sh (new toolchain) is not yet enabled for

MACHINE: sparc
MACHINE_ARCH: sparc

All builds for this platform should be done via a traditional make

If you wish to test using the new toolchain set

USE_NEW_TOOLCHAIN=yes

in either the environment or mk.conf and rerun

	So, I created /etc/mk.conf and put "USE_NEW_TOOLCHAIN=yes" in it. 
I tried re-building (with the same command) and got this error:

cc  -O -o nbmake *.o
nbmake: "/u/src/tools/Makefile" line 41: Malformed conditional 
(${MKTOOLS:Uyes} == "no" || ${USETOOLS} != "yes")
nbmake: "/u/src/tools/Makefile" line 57: if-less endif
nbmake: "/u/src/tools/Makefile" line 57: Need an operator
nbmake: Fatal errors encountered -- cannot continue

nbmake: stopped in /u/src/tools


	Defining "USE_NEW_TOOLCHAIN=yes" in my environment did not seem 
to make any difference.


	Am I missing something here?

-- 
Brad Knowles, <brad.knowles@skynet.be>

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
     -Benjamin Franklin, Historical Review of Pennsylvania.