after reading the “Note about exported symbols:” at the very bottom of juce/extras/audio plugins/How to use this framework.txt, I came accross the following gcc link options (works for gcc-4.0, haven’t tried any other versions):
gcc … -s -exported_symbols_list mylist.exp …
when you use this, it compains:
ld warning: option -s is obsolete and being ignored
but in fact, it strips out all of the symbols from your dylib except the ones in mylist.exp.
seems like it might be useful for avoiding conflicts without needing to run strip.