This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [gcj-eclipse-merge-branch] gcj-dbtool and cross-compilation
- From: Andrew Haley <aph at redhat dot com>
- To: Adam Megacz <adam at megacz dot com>
- Cc: java at gcc dot gnu dot org
- Date: Tue, 5 Dec 2006 10:09:52 +0000
- Subject: Re: [gcj-eclipse-merge-branch] gcj-dbtool and cross-compilation
- References: <x31wnf12kf.fsf@nowhere.com>
Adam Megacz writes:
>
> Hey, I've been on extended hiatus since before gcj-dbtool existed.
> Forgive me if I'm just totally confused here.
>
> How is gcj-dbtool supposed to play along with cross-compilation? It
> runs as part of the build process, yet has $(EXEEXT) on it. This is a
> bit confusing since AFAICT $(EXEEXT) is chosen by the target, not the
> host.
>
> It also appears that gcj-dbtool is written at least partly in Java,
> meaning that a cross compile would need a host-to-host gcj in order to
> finish the host-to-target libgcj build. I guess that's not such a bad
> thing, but it might be good if it were made explicit that this is
> necessary now...
Just take out the call to gcj-dbtool when cross-compiling.
Andrew.