[Scons-users] sun c/c++/shared libraries

Tom Tanner (BLOOMBERG/ LONDON) ttanner2 at bloomberg.net
Tue May 27 11:16:18 EDT 2014


I'm somewhat confused as to why on solaris, the buildprefixes .o files AND shared libraries with so_, whereas everything else sticks a .pic before the .o

It results in a very surprising behaviour of

SharedLibrary('wibble.cc')

producing this:

scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o so_wibble.pic.o -c -KPIC wibble.cc
g++: unrecognized option `-KPIC'
g++ -G -o libso_wibble.so so_wibble.pic.o
scons: done building targets.

which is not what I expected at all, 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20140527/ee59388e/attachment.html>


More information about the Scons-users mailing list