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


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/




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