This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: canadian vs build==host configury (and $with_cross_host)


>>>>> "Adam" == Adam Megacz <megacz@cs.berkeley.edu> writes:

  # Passing a --with-cross-host argument lets the target libraries know
  # whether they are being built with a cross-compiler or being built
  # native.  However, it would be better to use other mechanisms to make the 
  # sorts of decisions they want to make on this basis.  Please consider
  # this option to be deprecated.  FIXME.

I wonder what those other mechanisms could be.

Perhaps, if we always use the canonical names for decision-making in
configure.ac, we can just:

if test -z "$with_cross_host"; then
  with_cross_host=$build
fi

$with_cross_host should only be empty if the user initially did not
pass --host to configure.  So, it should default to the build machine.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]