From: Paul Eggert Date: Mon, 23 Apr 2012 17:30:05 +0000 (-0700) Subject: doc: document --build and cross-compilation better X-Git-Tag: v2.69~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed96f6541caacbc35cd8fca6444d04b40bba9b1a;p=thirdparty%2Fautoconf.git doc: document --build and cross-compilation better * doc/autoconf.texi (Specifying Target Triplets): Mention that specifying a build-type that differs from host-type enables cross-compilation. Problem reported by Bruno Haible in: http://lists.gnu.org/archive/html/autoconf-patches/2012-04/msg00009.html --- diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 2ae8bb93..b1295ebe 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -21747,10 +21747,12 @@ system types are involved. The options to specify them are: @item --build=@var{build-type} the type of system on which the package is being configured and compiled. It defaults to the result of running @command{config.guess}. +Specifying a @var{build-type} that differs from @var{host-type} enables +cross-compilation mode. @item --host=@var{host-type} the type of system on which the package runs. By default it is the -same as the build machine. Specifying it enables the cross-compilation +same as the build machine. Specifying it enables cross-compilation mode. @item --target=@var{target-type}