I am trying to build a .c file into a .so library. Ideally I would like to do this as part of the c6x linux build (i.e. prj build), but for now I would be happy to get it to build from the command line.
In Ubuntu, I use this command (snippet from Makefile):
example_api.so:
gcc -shared -o libexample_api.so -pthread -fPIC -g -Wall example_api.c
Can anyone tell me the equivalent command to get it to build for the 6678? I can prj build, so I have the 6678 cross-compile toolchain.
Thanks,
MS