summaryrefslogtreecommitdiff
path: root/doc/TODO.crosscompile
blob: fc637559fb5c9c02cb106c129329ec37d2644c28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: TODO.crosscompile,v 1.7 2013/05/13 15:14:42 riastradh Exp $

* Fix the cross-libtool crock.
* Organize NATIVE_xyz and TARGET_xyz better.
* Organize host/target compiler tools better.
* Automatically set PACKAGES=packages.${MACHINE_ARCH}.
* Automatically set WRKDIR_BASENAME=work.${MACHINE_ARCH}.
* Simplify mk.conf setup (see HOWTO-use-crosscompile).
* Make USE_CROSS_COMPILE and MACHINE_ARCH passable on the command line.
* Don't require user to set up CROSSBASE cruft.
* Allow LOCALBASE &c. to be set differently on host and target.
* Make cross-OS builds work.  Use MACHINE_PLATFORM, not MACHINE_ARCH.
* Judiciously insert ${CROSS_DESTDIR} into various `.if exists(/xyz)'.
* Teach pbulk about TOOL_DEPENDS so it can easily do bulk cross-builds.
* Distinguish host build-time tools from target run-time tools.
* If you set MACHINE_ARCH, what should MACHINE be?  (Avoid using it?)
* Make sure cross-builds DTRT with INSTALL scripts.