Subject: Re: ONLY_FOR_PLATFORMS into pkgsrc/cross/COMMON
To: Jun-ichiro itojun Hagino <>
From: Simon Burge <>
List: tech-pkg
Date: 01/05/2001 00:43:00
Jun-ichiro itojun Hagino wrote:

> 	msaitoh told me that we cannot mix 64bit/32bit as host/target,
> 	for gcc for cross-builds.  if this is the case (and if there's no
> 	easy fix for it) does it make sense to have ONLY_FOR_PLATFORMS
> 	restrictions into pkgsrc/cross/COMMON?

thoreau:~ 4331> uname -m
thoreau:~ 4332> pkg_info | grep cross
cross-binutils- Unified GNU binutils for cross build environments
cross-mipsel-netbsd- Cross-compile environment for NetBSD/mipsel
cross-powerpc-netbsd- Cross-compile environment for NetBSD/powerpc

There are some minor problems (libc/libkern sha1.c with mipsel, similar
to native sparc64 problems, and one i can't remember for powerpc - I
think something failed to compile with -g), but in general it is fine.
I for one would not be happy to have some sort of ONLY_FOR_PLATFORMS
dance for the cross-tools.

Simon Burge                            <>
NetBSD CDs, Support and Service: