This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: canadian vs build==host configury
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: Adam Megacz <megacz at cs dot berkeley dot edu>
- Cc: java-patches at gcc dot gnu dot org
- Date: Thu, 21 Dec 2006 15:02:49 -0600
- Subject: Re: canadian vs build==host configury
- Reply-to: gnustuff at thisiscool dot com
Hi Adam,
>> I don't see how this:
>>
>>> > + GCJ="$built_gcc_dir/gcj -B$built_gcc_dir/"
>>
>> ...could possibly be right. Adam, are you building on Linux or Mactel?
>
>Linux.
>
>> What the above line is assuming is that the intermediate compiler is
>> suitable for building libgcj. This is only true when build=host, which
>
>That is the case; at the moment I am doing (build==host)!=target.
>The previous configury was broken for that case.
I should have clarified this with you.
>> That means building the cross compiler, installing it, then adjusting your
>> system path accordingly before doing the crossed-native build.
>
>Perhaps, but this should not be necessary when build==host.
You're right. This isn't necessary with build==host. You can use the
intermediate compiler if build==host && host!=target. I am explicitly
setting build and host, which is why I'm not seeing the issues you're
describing. I have to rush out now, but will talk more when I get back.
If Tom's listening, he has a black belt in this and could chime in too.
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/