libjava status on Solaris 8/Intel and IRIX 6.5
Tom Tromey
tromey@redhat.com
Mon Mar 18 14:02:00 GMT 2002
>>>>> "Rainer" == Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> writes:
Tom> Yes. Checking the host setting here is correct.
Tom> Checking target might work, but it isn't really correct.
Rainer> Very confusing: when dealing with cross-compilations tools
Rainer> (like gcc or binutils), target describes the output platform,
Rainer> while for libraries this is host? I don't think this is
Rainer> documented clearly enough, though.
Yeah. "host" means "platform the code being built will run on".
"target" is meaningful only for compilers (and debuggers, etc) and
means "platform that this tool will generate code for / debug / etc".
When building the "target libraries" like libgcj, we build them with
the compiler we just built. We use the compiler's --target for the
target library's --host. This makes sense since these libraries must
run on the compiler's --target; therefore this must be their --host.
Pretty much everybody is confused by this the first time they run
across it. Maybe we should put a comment in configure.host saying
"No, we really do mean host" :-)
Rainer> I've updated the patch accordingly.
Thanks.
Tom
More information about the Java
mailing list