public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/17699] New: Can't crosscompile gcj
@ 2004-09-27 18:48 bero at arklinux dot org
2004-09-27 21:57 ` [Bug java/17699] " tromey at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: bero at arklinux dot org @ 2004-09-27 18:48 UTC (permalink / raw)
To: java-prs
Attempting to create an i686-ark-linux -> armv5tel-ark-linux crosscompiler
with java support ends in
armv5tel-ark-linux-gcj
-B/usr/src/ark/BUILD/gcc-3.4.3-20040925/armv5tel-ark-linux/libjava/
--encoding=UTF-8 -Wno-deprecated -C -g -classpath ''
-bootclasspath /usr/src/ark/BUILD/gcc-3.4.3-20040925/armv5tel-ark-linux/libjava:../.././libjava
-d /usr/src/ark/BUILD/gcc-3.4.3-20040925/armv5tel-ark-linux/libjava ../.././libjava/java/lang/Class.java
make[1]: armv5tel-ark-linux-gcj: Command not found
It should probably be using gcj as opposed to target-gcj
--
Summary: Can't crosscompile gcj
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bero at arklinux dot org
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
GCC build triplet: i686-ark-linux
GCC host triplet: i686-ark-linux
GCC target triplet: armv5tel-ark-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17699
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/17699] Can't crosscompile gcj
2004-09-27 18:48 [Bug java/17699] New: Can't crosscompile gcj bero at arklinux dot org
@ 2004-09-27 21:57 ` tromey at gcc dot gnu dot org
2004-09-29 12:40 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-09-27 21:57 UTC (permalink / raw)
To: java-prs
------- Additional Comments From tromey at gcc dot gnu dot org 2004-09-27 21:57 -------
A plain cross compiler, where the build and host platforms
are the same, should always invoke the just-built gcj.
I assume this is the case for you?
In that case the logic in libjava/configure.in seems ok to me.
One thing that would be helpful is if you could search
libjava/configure for the comment
# Which gcj do we use?
and add a "set -x" before this, and then later on
(after the case that switches on ${which_gcj}) add a
"set +x", then rebuild, and send the output.
Maybe this will show what is being decided incorrectly.
Also the exactly command line to the libjava configure
would probably be helpful.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17699
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/17699] Can't crosscompile gcj
2004-09-27 18:48 [Bug java/17699] New: Can't crosscompile gcj bero at arklinux dot org
2004-09-27 21:57 ` [Bug java/17699] " tromey at gcc dot gnu dot org
@ 2004-09-29 12:40 ` pinskia at gcc dot gnu dot org
2004-10-03 18:33 ` bero at arklinux dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-29 12:40 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-29 12:40 -------
Also how did you configure the new compiler, this is the most important information.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17699
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/17699] Can't crosscompile gcj
2004-09-27 18:48 [Bug java/17699] New: Can't crosscompile gcj bero at arklinux dot org
2004-09-27 21:57 ` [Bug java/17699] " tromey at gcc dot gnu dot org
2004-09-29 12:40 ` pinskia at gcc dot gnu dot org
@ 2004-10-03 18:33 ` bero at arklinux dot org
2004-10-03 18:36 ` pinskia at gcc dot gnu dot org
2004-10-03 19:44 ` tromey at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: bero at arklinux dot org @ 2004-10-03 18:33 UTC (permalink / raw)
To: java-prs
------- Additional Comments From bero at arklinux dot org 2004-10-03 18:33 -------
Turns out to be a config problem on my side (i686 vs. i386 confusion in
host/build); configure thought it was building a canadian cross (but for a
canadian cross I guess the gcj file should have been generated?)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17699
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/17699] Can't crosscompile gcj
2004-09-27 18:48 [Bug java/17699] New: Can't crosscompile gcj bero at arklinux dot org
` (2 preceding siblings ...)
2004-10-03 18:33 ` bero at arklinux dot org
@ 2004-10-03 18:36 ` pinskia at gcc dot gnu dot org
2004-10-03 19:44 ` tromey at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-03 18:36 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-03 18:36 -------
Invalid so closing.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17699
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/17699] Can't crosscompile gcj
2004-09-27 18:48 [Bug java/17699] New: Can't crosscompile gcj bero at arklinux dot org
` (3 preceding siblings ...)
2004-10-03 18:36 ` pinskia at gcc dot gnu dot org
@ 2004-10-03 19:44 ` tromey at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-10-03 19:44 UTC (permalink / raw)
To: java-prs
------- Additional Comments From tromey at gcc dot gnu dot org 2004-10-03 19:44 -------
For a canadian cross you're expected to have
a build-x-host toolchain installed and in your PATH.
This is what is used to build the target libraries.
Without such a toolchain already around, there would
be no way to build target libraries, since the host
tools won't work on the build system in a canadian cross.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17699
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-10-03 19:44 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-27 18:48 [Bug java/17699] New: Can't crosscompile gcj bero at arklinux dot org
2004-09-27 21:57 ` [Bug java/17699] " tromey at gcc dot gnu dot org
2004-09-29 12:40 ` pinskia at gcc dot gnu dot org
2004-10-03 18:33 ` bero at arklinux dot org
2004-10-03 18:36 ` pinskia at gcc dot gnu dot org
2004-10-03 19:44 ` tromey at gcc dot gnu dot org
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).