-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Fritz Code on 8/25/2008 12:00 AM: > > But the build-system I'm using at the moment uses prefix to specify the > location of the toolchain on the host. > E.g. --prefix /opt/devel/arm7/ Correct - --prefix is for the host machine. > > But as a result of this, the produced software expects its runtime > environment in the folder /opt/devel/arm7 on the target machine. > So any configuration file needed by the app, is perpended with > /opt/devel/arm7/. > > So I'm sort of confused with the prefix parameter in the context of cross > compiling. > > So in my opinion it' more logical to specify with (make > DEST_DIR="/opt/devel/arm7" install) the location of the produced app on the > host - temporary until it gets copied to the target. DESTDIR, not DEST_DIR. But yes, that's one of the reasons that DESTDIR exists - so that you can install into a directory tree on the build machine, then copy that directory tree into the host machine. You may find this section (and the overall Automake chapter on using the autotools) useful. http://www.gnu.org/software/automake/manual/automake.html#DESTDIR - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9@xxxxxxx -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkiynMsACgkQ84KuGfSFAYDD/gCgktr+DIvFs6d/SSFtzNJzqxQi dZ0AnjC9aS/rK6beG8xEFZBEm9arsXhp =h1gx -----END PGP SIGNATURE----- _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf