How to export symbols from a shared library
问题 I created a shared library ( *.so ) using the *.o object code files (C source code) using RVDS compiler on Windows Host. I link this shared object with a application (using gcc for ARM target on Linux host) and obtain a executable, which on running generates segmentation fault. (I know I have to debug it!) Instead of creating shared library, if I create a static library with same source files, and then link with the application, and then execute the application it works fine as expected. So