This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Java help needed
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Subject: Re: Java help needed
- From: Tom Tromey <tromey at redhat dot com>
- Date: 02 Oct 2001 07:14:23 -0600
- Cc: gcc at gcc dot gnu dot org
- References: <10110021255.AA14889@vlsi1.ultra.nyu.edu>
- Reply-To: tromey at redhat dot com
>>>>> "Richard" == Richard Kenner <kenner@vlsi1.ultra.nyu.edu> writes:
Tom> See what command-line make prints when it tries to build
Tom> Checkbox.java. cd <build>/<target>/libjava Run the above command line
Tom> with `-v'. Then debug jc1 with the command-line printed by gcj.
Richard> You are assuming I know a lot more about Java than I do. I
Richard> can't even find gcj! Also, this fails on i386 and my host is
Richard> alphaev56. So I need to build something as a cross-compiler
Richard> and pass it some command line.
Richard> Details on what that is would save me a lot of time.
I haven't tried to build gcj as a cross-compiler in a long time.
However, back when I last tried, you did it the same way you build any
cross-compiler.
The command-line printed by `make' should tell you how to find gcj.
In my build it is <build>/gcc/gcj.
If you're trying to build just Checkbox.java in isolation, without
building the rest of the library, you can probably do that. However
you'll need to configure libjava first. Then you can do something
like this to see what make will do:
cd <build>/<target>/libjava
make java/awt/Checkbox.lo
Tom