configure WARNINGS
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Mon Oct 22 07:08:04 PDT 2012
On 2012-10-22 13:51, David Holmes wrote:
> configure: WARNING: you should use --build, --host, --target
> configure: WARNING: you should use --build, --host, --target
>
> Previuously reported internally but now sending to the list. My host
> machine is 64-bit linux and I'm building 32-bit linux. What do I have
> to set and why?
>
> My configure command used --with-target-bits=32
Is that all? Are you sure?
Autoconf has a legacy-mode where you can specify a platform (used for
both build and target, I don't know really what that would be useful for
other maybe if the configure autodetection fails), without giving any
--option prefix, e.g.
sh configure my-platform
instead of
sh configure --build my-platform --target my-platform
This feature has been deprecated for a long time, but does not seem like
it's going away. However it prints this warning.
So my guess is that you are sending in some additional piece of command
line arguments. If you also specify target setting using
--openjdk-target or --build/--target/--host, these will override, and
you can send in "badgerbadgerbadger" for all it's worth, and the only
result would be the above warning.
/Magnus
More information about the build-infra-dev
mailing list