[Scons-users] feature request: gcc support for AIX

Malek,Christophe [CMC] Christophe.Malek at ec.gc.ca
Wed Aug 5 14:56:09 EDT 2015


Hi again SCons devs,

Just a small feature request. I am using the latest version 2.3.6.

As you know from my last e-mail, I'm trying to compile Subversion on
AIX. I noticed that SCons defaults to the xlc compiler. However, all the
other packages for Subversion (Apache portable runtime and Subversion
itself) get compiled with gcc by default. This means that when serf
tries to link it runs into several undefined functions for things that
are usually provided by gcc's libraries:
ld: 0711-317 ERROR: Undefined symbol: .__mcount
ld: 0711-317 ERROR: Undefined symbol: .__udivdi3
ld: 0711-317 ERROR: Undefined symbol: .__moddi3
ld: 0711-317 ERROR: Undefined symbol: .__divdi3

I am of course able to work around this by linking explicitly to -lgcc.

Would it be possible to provide the gcc compiler as an SCons option for
AIX?

- Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20150805/4bb98f59/attachment.html>


More information about the Scons-users mailing list