This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Small example of livelock regression in garbage collector forGCJ 3.3 under W
Mohan Embar writes:
> Hi People,
>
> > > I meant not having to build libgcj while building the cross compiler - for
> > > the crossed native compiler, I realise that I need to rebuild libgcj.
> >
> >I'm not sure I understand what the cross compiler is for...
>
> Let's look at it as far as (host,target) combinations. You
> need a (linux,mingw) compiler to build a (mingw,mingw)
> compiler on Linux.
>
> >If it's only to build a native compiler surely you don't need C++ or Java,
> >just a C compiler. You might as well disable all other languages.
>
> No, because you need C++ and Java in the (linux,mingw) compiler
> to build libgcj for mingw.
>
> >Well, I don't know what the crossed-native compiler is for, so I can't
> >say.
>
> The crossed-native compiler is simply the (mingw,mingw) compiler
> which happens to be built on Linux by (linux,mingw). Don't get
> thrown off by all the fancy terminology.
So, the only libgcj that needs to be built is by the linux->mingw
compiler, and that libgcj must be built with the correct libgcj.spec.
Everything should work fine, modulo bugs in the configury. I guess
it's just a matter of trying it.
Andrew.