hubertf's NetBSD Blog
Send interesting links to hubert at feyrer dot de!
[20081214] Crosscompiling from Solaris: done
After a bit more fiddling, building of the netbsd-5 branch now fully works on Solaris, including crosscompiling of The latter was the last stepping stone, and according to voices from tech-x11, it even happened on other platforms.

The problem was that when the X libs are built, some libs need otherlibs to be installed - and for libXi, the required libXext wasn't always built for me. After some cleaning up of some non-working overhead (thanks to Bernd 'veego' Ernesti) and some shuffling of libs (by yours truly) things build reliably now:

make release started at:  Fri Dec 12 19:09:19 CET 2008
make release finished at: Fri Dec 12 20:45:15 CET 2008
===> Successful make release
===> ended:   Fri Dec 12 20:45:15 CET 2008
===> Summary of results: command: ./ -x -X ../xsrc-5 -m i386 -u -N 2 -U -M obj.i386 [...] started: Fri Dec 12 19:09:18 CET 2008
         NetBSD version:   5.0_BETA
         MACHINE:          i386
         MACHINE_ARCH:     i386
         Build platform:   SunOS 5.10 i86pc
         HOST_SH:          /usr/xpg4/bin/sh
         TOOLDIR path:     /usr/homes/feyrer/cvs/src-5/obj.i386/tooldir
         DESTDIR path:     /usr/homes/feyrer/cvs/src-5/obj.i386/destdir
         RELEASEDIR path:  /usr/homes/feyrer/cvs/src-5/obj.i386/releasedir
         makewrapper:      /usr/homes/feyrer/cvs/src-5/obj.i386/tooldir/bin/nbmake-i386
         Updated /usr/homes/feyrer/cvs/src-5/obj.i386/tooldir/bin/nbmake-i386
         Successful make release ended:   Fri Dec 12 20:45:15 CET 2008
===> .

real  1:35:58.0
user    53:23.4
sys     10:30.1
Besides Solaris 10/x86, I've also checked that the netbsd-5 branch builds on OpenSuSE 10.2/xs86, Mac OS X 10.4.11/x86, NetBSD 2.0/i386 and NetBSD 5.0/i386.

With this step, I consider my pet project of making NetBSD crosscompile-able from Solaris finished. The goal was to add Solaris as another platform for embedded development projects that use NetBSD as target operating system. The reason for the project was to make sure the development platform list does include Solaris, which I considere a worthy operating system for such a venture. In case someone cannot use NetBSD or Mac OS, of course. 8-)

[Tags: , ]

Disclaimer: All opinion expressed here is purely my own. No responsibility is taken for anything.

Access count: 26345532
Copyright (c) Hubert Feyrer