This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Missing gij in cross-compile
- From: Ben Gardiner <BenGardiner at nanometrics dot ca>
- To: Andrew Haley <aph at redhat dot com>
- Cc: GCJ <java at gcc dot gnu dot org>
- Date: Tue, 10 Jun 2008 10:20:26 -0400
- Subject: Re: Missing gij in cross-compile
- References: <484E874A.7080202@redhat.com>
Andrew Haley wrote:
When I "make" in libcgj in a cross-compiled environment I
don't get a gij binary.
...
Do you have any idea why gij should not be built?
I don't know if it should be built or not. But it is not being built
because bin_PROGRAMS in Makefile.am is only set for a native build.
Makefile.am---------------------------------
## For now, only on native systems. FIXME.
if NATIVE
bin_PROGRAMS = jv-convert gij grmic grmiregistry gcj-dbtool \
gappletviewer gjarsigner gkeytool gjar gcjh gjavah gnative2ascii \
gorbd grmid gserialver gtnameserv gc-analyze
## It is convenient to actually build and install the default database
## when gcj-dbtool is available.
dbexec_DATA = $(db_name)
endif
---------------------------------------------
Also, where should the resulting binary be placed in the install tree?
Since gij would execute on the target, I think it should go into the
sysroot/bin folder, I think the default would be /usr/arm-linux-gnueabi/bin.
,Ben