> Folks,
>
> 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’m using current stable pkgsrc.

I don’t have much to comment about your specific question, but I would like to 
offer you some advice on potential alternative solutions to your problem. Good 
luck!

1) Maybe use pkgin to install binary packages directly.

Prebuilt binary packages are provided for i386, so you should be able to 
install and use pkgin directly.

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.

Reply via email to