Symbol visibility using g++
I compiled a C++ library under Linux/Mac with its symbols hidden. I've used _ attribute _ ((visibility("hidden"))) for all my classes and compiled with options (-c -O2 -fPIC -MMD -MP -MF). Under Mac, using MacDependencies (http://code.google.com/p/macdependency/), the job is done just fine as I see only my exports (I actually saw the difference before and after). However, I noticed that using nm I still see all the names of the symbols. This happens under both Mac and Linux. Why is that? Is there any way to avoid this? Best Regards and thanks, Joe Public or hidden, symbols are still there. nm