I have several .o files and want to bundle them in a .dylib, how can I do that it Mac OS X using gcc? Thank you very much.
+1
A:
Use g++ -dynamiclib -undefined suppress -flat_namespace *.o -o something.dylib
Tianyi Cui
2010-08-20 16:10:01