[Scons-users] scons adds option -KPIC also for gcc/g++ on platform solarisx86

Mats Wichmann mats at wichmann.us
Tue May 25 08:45:32 EDT 2021


On 5/25/21 5:38 AM, Jusic wrote:
> Hi,
> ancient system runs ancient scons. :-)
> Upgrade of python to 3.5 and compiling a new scons version for solaris 
> comes with big effort.
> Before doing that I'm looking for possible workarounds and I checked 
> several times the changes.txt.
> The only entry is:
> Line 4354
> Add the -KPIC option by default when compiling shared objects on
> 	Solaris
> 
> But there is no entry for a fix.
> Can anybody confirm in which scons version it was fixed?
That entry corresponds to scons 0.96.91

commit 0f8064fbb31c680b4029dc2ffc4f0312b7ec766d
Author: Steven Knight <knight at baldmt.com>
Date:   Wed Aug 24 17:33:37 2005 +0000

     On Solaris, enable the -KPIC option by default when compiling 
shared objects, and accomodate Sun Workshop by changing the prefix 
instead of the suffix.  (Steve-o)  Add the +Z option for compiling 
shared objects on HP-UX.


More information about the Scons-users mailing list