ok, some progress. Above generated error:juuso wrote: Optional you can try this:Code: Select all
arm-v7a8-linux-gnueabi-gcc -O2 -c helloworld.c -o helloworld.o arm-v7a8-linux-gnueabi-gcc -shared -Wl -o hello helloworld.o
Code: Select all
relocation R_ARM_ABS_NC against a local symbol can not be used when making a shared object: recompile with -fPIC