[Nestedvm] Problem with libs

David Barr davidbarr at iname.com
Thu Jun 25 18:04:09 EDT 2009


Just a guess, but does it make any difference if you compile to .o first?

$ mips-unknown-elf-gcc -c test.c
$ mips-unknown-elf-gcc -o test.mips test.o


2009/5/27 Anton Evtushenko <duran_anton at ua.fm>
>
> Hi!
>
> I have a problem:
> My C file is below
>
> int f()
> {
> }
>
> int f2()
> {
> }
>
> int main()
> {
>    f1();
>    f2();
>    return 0;
> }
>
> Then I build them with commands:
> $ mips-unknown-elf-gcc -o test.mips test.c
> $ java org.ibex.nestedwm.Compiler -outfile Test.class Test test.mips
>
> In the dump of Test.class file:
> $javap -c Test
> I can not find my functions f1 and f2, that's why I can not use NestedVM to port my librarys to use them in my Java application.
>
> Tell me please, can NestedVM port libraries with original signature of functions, and if it's so, how can I do this?
>
> Anton Evtushenko.
>
> -- реклама -----------------------------------------------------------
> www.hostpro.ua - 8 лет!
> Тариф <<Именинник>>: 8Гб диска, 8 сайтов - $8/мес.
>
>
> _______________________________________________
> Nestedvm mailing list
> Nestedvm at lists.hcoop.net
> https://lists.hcoop.net/listinfo/nestedvm



More information about the Nestedvm mailing list