On Fri, 11 Jan 2019, [email protected] wrote:

Ok, I just needed a few more minutes obviously so I found where this options were defined by default :
CMakeLists.txt:add_gcc_compiler_flags("-fvisibility=hidden")
CMakeLists.txt:add_gcc_compiler_cxxflags("-fvisibility-inlines-hidden")

commented them out and compiled it....

There are Solaris linker options which do similar things. It would be good to find those options and use them instead so that the library ABI is similar to Linux, without a bunch of exposed private symbols.

Using the hidden symbols actually makes the code smaller and load faster.

Bob
--
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt

_______________________________________________
openindiana-discuss mailing list
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to