Another option is to use an emulator such as QEMU for package building. I used this to build a lot of packages. It has the plus that you can try installing them on the same image and see if they actually work.
I'm told that NetBSD's cross compiling is very well developed, but didn't go this way.
Usually, somebody has built binaries for some of the critical path packages like gcc and perl. These can be pretty hard to build out of the box. Finding even one of these already built can save many hours.
I wish it was easier to contribute binaries, especially for "less traveled" ports. I understand the reasons why, but still..
Fabian Schreyer wrote:
Hello Greg, what I am trying to do is to run a basic webserver on it. Of course it is just playing around, but I want to see if I can host a simple website on such an old machine in a secure manner. I currently have 72 megs of RAM installed in this machine. Right now I hope I figure out how to cross compile stuff for this platform. On Sun, Aug 12, 2018 at 3:30 PM, Greg Troxel <gdt%lexort.com@localhost> wrote:Fabian Schreyer <fabianschreyer%gmail.com@localhost> writes:Hello everyone, I just installed NetBSD 8.0 for the first time on my SPARCclassic. The installer offered me to install pkgin via network, but this seems to be unavailabe for 8.0. Also under ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/sparc/ there is no directory called 8.0. Does this just mean that there are no premade binarys for 8.0 yet, or do I get something wrong?It is highly likely that there are no binary packages yet, and it is not clear when/if they will appear.Should I probably just use 7.0 for now?It depends. If you don't want a large amount of packages, and you are willing to build some yourself, you can do that from pkgsrc sources. How much RAM do you have? What are you trying to do? A SPARCclassic is so old/small/slow that I am guessing you are running netbsd on it for run to see if it works, rather than trying to accomplish some real task. But without knowing your intent, it's hard to give advice.