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

Bill Deegan bill at baddogconsulting.com
Wed Aug 5 15:23:50 EDT 2015


Chris,

By default SCons will try to first use any native compilers present and
then try others.

It sounds like you have both xlc and gcc on your system so you will need to
specify the tool list in your Environment() creation.

Environment(tools=['gcc','g++','ar','link'...]

-Bill


On Wed, Aug 5, 2015 at 11:56 AM, Malek,Christophe [CMC] <
Christophe.Malek at ec.gc.ca> wrote:

> 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
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20150805/6c22b196/attachment.html>


More information about the Scons-users mailing list