This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: more doc needed?
- From: Tom Tromey <tromey at redhat dot com>
- To: Nic Ferrier <nferrier at tapsellferrier dot co dot uk>
- Cc: java at gcc dot gnu dot org
- Date: 22 Jul 2002 16:20:35 -0600
- Subject: Re: more doc needed?
- References: <877kjnbel4.fsf@pooh-sticks-bridge.tapsellferrier.co.uk>
- Reply-to: tromey at redhat dot com
>>>>> "Nic" == Nic Ferrier <nferrier@tapsellferrier.co.uk> writes:
Nic> and generate the header:
Nic> gcjh --classpath . Test
Nic> 3. edit the Test.cc file and fill in the blanks.
The first time, you can use `gcjh --classpath . -stubs Test' to
generate Test.cc with the blanks to fill in. You don't want to do
this after editing Test.cc!
Really you want the native file to be called something like
natTest.cc, to avoid clashes with the object file names.
Nic> 4. Now compile the Test.cc file ??????
This ought to work:
g++ -c natTest.cc
Nic> 5. And now cause Test.java to load Test.cc? eg:
Nope, just link against natTest.o as well as Test.o.
Tom