bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Warning when using --host


From: Yevgen Muntyan
Subject: Warning when using --host
Date: Wed, 10 Jan 2007 13:45:42 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060809 Debian/1.7.13-0.3

Hey,

Whenever I use --host configure option without --target, it produces a warning,
e.g.:

address@hidden:/tmp/fsdfsd$ ~/projects/moo/configure --host=i586-pc-mingw32msvc
configure: WARNING: If you wanted to set the --build type, don't use --host.
   If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c

address@hidden:/tmp/fsdfsd$ ~/projects/moo/configure --host=i586-pc-mingw32msvc --target=i586-pc-mingw32msvc
configure: WARNING: If you wanted to set the --build type, don't use --host.
   If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c

Specifying --target alone or using --build in addition to --host suppresses
the warning, but manual says:

--host=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 mode.
--target=target-type
   the type of system for which any compiler tools in the package
   produce code (rarely needed). By default, it is the same as host.

So it read it as I should use --host when cross-compiling, and I don't need to use --build since it can guess what machine it runs on (debian linux, nothing
fancy). Is it my misunderstanding, or documentation problem, or autoconf
bug, or something else? I ended up running configure like this:

TARGET=i586-pc-mingw32msvc
sh $CONFIGURE --build=`$CONFIG_GUESS` --host=$TARGET --target=$TARGET


where CONFIGURE and CONFIG_GUESS are set as appropriate, but it seems
weird (the configure wrapper is
http://mooedit.sourceforge.net/hg/moo/?f=-1;file=mingw-configure ).

The whole thing lives here: http://mooedit.sourceforge.net/hg/moo/?mf=-1;path=/
if someone needs it, I am using autoconf-2.61 and automake-1.9.6. Please let
me know if you need more information.

Thank you,
Yevgen





reply via email to

[Prev in Thread] Current Thread [Next in Thread]