more doc needed?
Tom Tromey
tromey@redhat.com
Mon Jul 22 15:14:00 GMT 2002
>>>>> "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
More information about the Java
mailing list