This is the mail archive of the java@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: [gcj-eclipse-merge-branch] gcj-dbtool and cross-compilation


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.


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