How to create shared library using cross compilation method like using arm-none-linux-gnueabi
Solved! Go to Solution.
It's not relevant to iMX CPU. Even that I can share with you something.
gcc -shared -fPIC -o xxx.so source1.c source2.c sourcex.c
This will generate a xxx.so which is shared library.
It's not relevant to iMX CPU. Even that I can share with you something.
gcc -shared -fPIC -o xxx.so source1.c source2.c sourcex.c
This will generate a xxx.so which is shared library.
Thank you Wang!