This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
canadian vs build==host configury
Mohan Embar <gnustuff@thisiscool.com> writes:
> 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.
> 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.
If I understand your email correctly, you need to do a "make install"
before building libgcj when creating a Canadian cross-compiler and
then let libgcj's build process find the installed compiler. However,
this had not previously been required for build==host cross-compilers.
Did that change?
I think Canadian cross-builds need their own case arm in that block of
configure.ac (the "we cannot execute the compiler we just built" case,
which is not identical to the "we are making a cross-compiler" case).
- a
--
PGP/GPG: 5C9F F366 C9CF 2145 E770 B1B8 EFB1 462D A146 C380