* Missing gij in cross-compile
@ 2008-06-10 13:53 Andrew Haley
2008-06-10 14:20 ` Ben Gardiner
2008-06-10 15:37 ` Tom Tromey
0 siblings, 2 replies; 3+ messages in thread
From: Andrew Haley @ 2008-06-10 13:53 UTC (permalink / raw)
To: Tom Tromey, GCJ
When I "make" in libcgj in a cross-compiled environment I
don't get a gij binary.
But I can ask for it:
zorro:libjava $ make gij
/bin/sh ./libtool --tag=GCJ --mode=link /local/x-arm-gcc/build/gcc/gcj -B/local/x-arm-gcc/build/arm-linux-gnueabi/libjava/ \
-B/local/x-arm-gcc/build/gcc/ -L/local/x-arm-gcc/build/arm-linux-gnueabi/libjava -g -O2 -o gij \
-rpath /local/x-arm-gcc/install/lib/gcj-4.4.0-9 -rpath /local/x-arm-gcc/install/arm-linux-gnueabi/lib -shared-libgcc \
-L/local/x-arm-gcc/build/arm-linux-gnueabi/libjava/../libstdc++-v3/src/.libs -lstdc++ \
-L/local/x-arm-gcc/build/arm-linux-gnueabi/libjava/.libs libgij.la
Do you have any idea why gij should not be built?
Also, where should the resulting binary be placed in the install tree?
Thanks,
Andrew.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Missing gij in cross-compile
2008-06-10 13:53 Missing gij in cross-compile Andrew Haley
@ 2008-06-10 14:20 ` Ben Gardiner
2008-06-10 15:37 ` Tom Tromey
1 sibling, 0 replies; 3+ messages in thread
From: Ben Gardiner @ 2008-06-10 14:20 UTC (permalink / raw)
To: Andrew Haley; +Cc: GCJ
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Missing gij in cross-compile
2008-06-10 13:53 Missing gij in cross-compile Andrew Haley
2008-06-10 14:20 ` Ben Gardiner
@ 2008-06-10 15:37 ` Tom Tromey
1 sibling, 0 replies; 3+ messages in thread
From: Tom Tromey @ 2008-06-10 15:37 UTC (permalink / raw)
To: Andrew Haley; +Cc: GCJ
>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
Andrew> When I "make" in libcgj in a cross-compiled environment I
Andrew> don't get a gij binary.
Andrew> Do you have any idea why gij should not be built?
I no longer remember.
I think it has been that way since way, way back. Maybe all the way
back to the beginning.
Andrew> Also, where should the resulting binary be placed in the install tree?
I don't know. Do any other target libraries install executables?
Tom
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-06-10 15:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-10 13:53 Missing gij in cross-compile Andrew Haley
2008-06-10 14:20 ` Ben Gardiner
2008-06-10 15:37 ` Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).