compile native Methods in a package (solved)

Wanner Stefan stefan.wanner@ntb.ch
Tue Oct 23 09:05:00 GMT 2001


i'm realy sorry!
i had a bug in my source. instead of ch::ntb::embeddedlinux::gui::myprog 
i wrote ch::ntb::embeddedlinux::myprog. i think i'm stupid!


Tom Tromey wrote:

>>>>>>"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