Subject: Re: Separate tools trees for each target arch?
To: Alan Post <apost@recalcitrant.org>
From: Jeff Rizzo <riz@NetBSD.org>
List: netbsd-users
Date: 04/05/2005 20:10:07
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigFDA3214A623476DF1369F5F7
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

Alan Post wrote:

>I have an amd64 system, currently with netbsd-3 i386 installed.  I
>want to crossbuild amd64 installation sets so I can dual-boot in amd64
>mode.
>
>When building for each of the targets (i386 and amd64) do I need
>separate tools directories, as in (hosted on i386):
>
>  ./build.sh -u -U -m i386  -T /tools-for-i386-host-and-i386-target ...
>  ./build.sh -u -U -m amd64 -T /tools-for-i386-host-and-amd64-target ...
>
>Or do I just need separate tools directories for each of the host
>platforms, as in (hosted on i386):
>
>  ./build.sh -u -U -m i386  -T /tools-for-i386-host ...
>  ./build.sh -u -U -m amd64 -T /tools-for-i386-host ...
>
>I think I read the relevant portions of BUILDING, but didn't see it
>mentioned.  I tried the second approach, and it seemed to rebuild the
>compat tools, and not touch the <tooldir>/i386--netbsdelf directory.
>
>  Alan
>
>  
>
I believe the latter, as cross tools are named according to their target
platform, so there shouldn't be clashes.

+j


--------------enigFDA3214A623476DF1369F5F7
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (Darwin)

iQCVAwUBQlNTFbOuUtxCgar5AQJW/wQAqmcrDYyehkPJrjNnnYhf1Rx1eBNfZmVd
QH5vFZQKS/pwmTEusIh7+7d1raECb8eJHxqIWR0vWwKuuYa2vKIk8u523qps4EmK
C7j9og++jifErn9aBZUmasYzaFAiMwwGuT0zk/MTRU+mN0bypIkcHpHlg+u3bT//
Bv16/NG90cA=
=v6+i
-----END PGP SIGNATURE-----

--------------enigFDA3214A623476DF1369F5F7--