Jay K <jay.krell@xxxxxxxxxxx> writes: > In particular, will any of GNU ld, Sun ld, Apple ld generate stubs > for stuff that was marked hidden but turned out to come from an .so? I don't think so. A symbol that is marked hidden can't come from a .so, by definition. That sounds more like -Bsymbolic. > As well everything that is exported, I want "protected" (which > doesn't currently work in gcc), so telling the compiler "hidden" > might be close enough to true? As far as I know protected does work, though it doesn't mean what some people think it should mean. In what way does it not work for you? Ian