canadian vs build==host configury

Mohan Embar gnustuff@thisiscool.com
Thu Dec 21 21:03:00 GMT 2006


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/





More information about the Java-patches mailing list