summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorriastradh <riastradh@pkgsrc.org>2013-05-11 16:49:30 +0000
committerriastradh <riastradh@pkgsrc.org>2013-05-11 16:49:30 +0000
commitb0ab56d911dbea8875fbdf35c9470329fca4f507 (patch)
treee488790b1a0d99f38877447d96d7c3f462d85556
parent06227a580c9cf4fcdc612dba4e0d9a653d6ec327 (diff)
downloadpkgsrc-b0ab56d911dbea8875fbdf35c9470329fca4f507.tar.gz
Add a little list of things to do to improve cross-compilation.
-rw-r--r--doc/TODO.crosscompile12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/TODO.crosscompile b/doc/TODO.crosscompile
new file mode 100644
index 00000000000..05b373122bb
--- /dev/null
+++ b/doc/TODO.crosscompile
@@ -0,0 +1,12 @@
+$NetBSD: TODO.crosscompile,v 1.1 2013/05/11 16:49:30 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. Perhaps use GNU_PLATFORM, not ARCH.