tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bulk with i386 chroot on amd64? xen?



On Tue, Aug 09, 2022 at 12:45:34PM -0400, Greg Troxel wrote:
>   1) building packages i386 in a chroot on an amd64 host?  same, but for
>   other families (earmv7hf-el on aarch64, sparc on sparc64)?

I have been doing i386 chrooted builds on amd64 for years (NetBSD/amd64
as Xen domU to be precise). I just have CFLAGS += -march=i686 in chrooted
/etc/mk.conf

IIRC I had -m32 once, but switched to -march=i686 for atomic operations

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index