
Visibility of global variables in shared libraries
Yes (by default), on all UNICes.
However, you *can* change the default behaviour and build a shared
library such that a global defined it will not be visible outside. On
Linux, try 'info ld' and read the "Scripts" section.
[It is probably because of this, that you can't get a definitive
answer -- it depends on how things are built]
Yes, on *most* UNICes.
On Linux, to achieve that, you must use -Wl,--export-dynamic
when linking main executable.
On AIX, you must use 'deferred imports' and enable 'runtime linking'.
No.
No.
I don't know of any.
Cheers,
--
In order to understand recursion you must first understand recursion.