From 04f4cb77cda8cf22a99b1736826cbaefa8b80cd0 Mon Sep 17 00:00:00 2001 From: riastradh Date: Sat, 11 May 2013 16:49:30 +0000 Subject: [PATCH] Add a little list of things to do to improve cross-compilation. --- doc/TODO.crosscompile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/TODO.crosscompile diff --git a/doc/TODO.crosscompile b/doc/TODO.crosscompile new file mode 100644 index 000000000000..05b373122bb9 --- /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.