This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Why are tests in libjava/configure.host based on ${host} instead of ${target}??
- From: Tom Tromey <tromey at redhat dot com>
- To: David Daney <ddaney at avtrex dot com>
- Cc: java at gcc dot gnu dot org
- Date: 05 Aug 2003 13:41:12 -0600
- Subject: Re: Why are tests in libjava/configure.host based on ${host} instead of ${target}??
- References: <3F300898.20808@avtrex.com>
- Reply-to: tromey at redhat dot com
>>>>> "David" == David Daney <ddaney@avtrex.com> writes:
David> Why are tests in libjava/configure.host based on ${host} instead of
David> ${target}?
If you configure at the top-level with --target=$target, all the
target libraries will be configured with --host=$target.
This makes sense if you think about it a little. The host is the
machine on which the code in question will run. A target library will
run ("be hosted") on the machine that the top level thinks is the
target.
We've enshrined the confusion in the file name, so we can answer this
once a year or so :-)
Tom