This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: compile native Methods in a package
- To: Stefan Wanner <stefan dot wanner at gmx dot ch>
- Subject: Re: compile native Methods in a package
- From: Tom Tromey <tromey at redhat dot com>
- Date: 23 Oct 2001 09:58:52 -0600
- Cc: java at gcc dot gnu dot org
- References: <3BD5511A.90308@gmx.ch>
- Reply-To: tromey at redhat dot com
>>>>> "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