Jan. 27, 2013
10:26 p.m.
Hi Guys, Today I wanted to test my TalkFFI project on linux, and I run into some NB issue. It seems that the VM crashes when trying to invoke a function returning a 8 byte structure. I have tried with 4 bytes structure and I get some bogus data but no crash with 12 bytes structure it seems to work... Attached to this mail you will find a simple test case. the c file I have compiled with: gcc -g -fPIC -Wall -c -m32 strreturn.c gcc -shared -g -Wl,-soname,libret.so.1 -o libret.so -m32 strreturn.o -lc Cheers, -- Dr. Ciprian TEODOROV Ingénieur Développement CAO tél : 06 08 54 73 48 mail : ciprian.teodorov@gmail.com www.teodorov.ro