compile native Methods in a package
Tom Tromey
tromey@redhat.com
Tue Oct 23 08:41:00 GMT 2001
>>>>> "Stefan" == Stefan Wanner <stefan.wanner@gmx.ch> writes:
Stefan> gcj -C path/to/myprog.java
Stefan> gcjh path/to/myprog
Stefan> gcj -c path/to/myprog.class -o path/to/myprog.o
Stefan> g++ -c path/to/myprognat.cc -o path/to/myprognat.o
I tried this example. It worked fine for me.
Does it work for you?
Is your version of g++ the same as your version of gcj?
What system are you using?
Tom
More information about the Java
mailing list