zamfofex <zamfo...@twdb.moe> writes:

>> I have a Pentium II 350 machine that I run NetBSD 10.1 on. Obviously, it can 
>> build for itself, especially since it has a silly 1GB of RAM, but it’s 
>> extremely slow, as expected, when building.
>>
>> So, I use an AMD64 VM , also running NetBSD 10.1, to do the building. I’m 
>> having issues cross-compiling GCC12, and wanted to see if anyone else has 
>> seen the same issue.


I think it's great that you are trying cross compiling and raising
issues.   I think cross is great in general.

> 2) Install i386 NetBSD on your build machine.
>
> To avoid the issue of having to cross-compile packages altogether, you could 
> install NetBSD for i386 on your build machine (either natively or on a VM) 
> and build the packages that way.
>
> It should be possible to run NetBSD for i386 on AMD64 hardware (on bare 
> metal, but also on a VM running on either i386 or AMD64 host OS with working 
> CPU-accelarated virtualisation).
>
> Since you say that the package(s) you want wouldn’t take more than 1GB to 
> build, it should be fine on 32-bit address space.

This is also great advice.  I have a modern adm64 box running xen and I
have domUs for netbsd 9, 10, 11 i386 and amd64 (but not 11-i386) to
build packages.

Reply via email to