-I am trying to create a shared object libfoo.so. libfoo.so is created from "foo.c"
- Assume that I include headers "static.h" and "Dynamic.h" where in I want the compiler to
resolve the symbols for Static.h and leave the rest ie from Dynamic.h for runtime.
- How do i do this ? What are the CFLAG and LDFLAG options that I need to pass.
- My makefile is setup to create a shared object using the CFLAGS=fPIC , shared , W1,export-dynamic.
- In the include paths i Specify the correct location for "Static.h"
Can someone help me ?