Annotation of wikisrc/projects/project/cross_nb_pkgsrc.mdwn, revision 1.3
1.1 jmmv 1: [[!template id=project
3: title="Create a cross-compile environment package for pkgsrc on NetBSD"
1.3 ! jmmv 9: category="pkgsrc"
! 10: difficulty="medium"
1.1 jmmv 11: duration="3 months"
14: The goal of this project is to generate a package or packages that will set up a cross-compiling environment for one (*slow*) NetBSD architecture on another (*fast*) NetBSD architecture, starting with (and using) the NetBSD toolchain in src.
16: The package will require a checked out NetBSD src tree (or as a refinement, parts thereof) and is supposed to generate the necessary cross-building tools using src/build.sh with appropriate flags; for the necessary /usr/include and libraries of the *slow* architecture, build these to fit or use the *slow* architecture's base.tgz and comp.tgz (or parts thereof). As an end result, you should e.g. be able to install the binary cross/pkgsrc-NetBSD-amd64-to-atari package on your *fast* amd64 and start building packages for your *slow* atari system.
18: Use available packages, like eg pkgtools/pkg_comp to build the cross-compiling environment where feasible.
20: As test target for the cross-compiling environment, use pkgtools/pkg_install, which is readily cross-compilable by itself.
22: If time permits, test and fix cross-compiling pkgsrc X.org, which was made cross-compilable in an earlier GSoC project, but may have suffered from feature rot since actually cross-compiling it has been too cumbersome for it to see sufficient use.
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb