Subject: Re: HEADS UP! New toolchain to be default on i386, sparc64
To: Paul Goyette <paul@whooppee.com>
From: Andrew Brown <atatat@atatdot.net>
List: current-users
Date: 08/14/2001 13:53:34
>> *** You must now set TOOLDIR in /etc/mk.conf or the environment, or else
>> *** "make build" will break.
>> 
>> TOOLDIR should be a directory that is not mounted noexec (since the
>> toolchain will be running from here), and will hold the *host tools* for a
>> given MACHINE_ARCH -- which means that you will be able to cross-compile
>> shortly, right from the top level.  (It *may* work already; I only haven't
>> tested it, and need to finish the rest of the cross-tools just to make
>> sure.)
>
>Any suggestions for what to set this to for a multi-architecture
>environment?  Any reason why we couldn't have a default?  Like maybe
>somewhere in the src/tools/obj.${arch} hierarchy?

it seems to me that one could probably get away with defining TOOLDIR
to

	__TOOLARCH!=uname -m
	TOOLDIR=foo/bar/obj.${__TOOLARCH}

and then get what i think you want.

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."