1. SCons
  2. Core
  3. SCons
  4. Pull requests

Pull requests

#140 Merged
Repository
haubi
Branch
aix-xlc_r-is-for-threads
Repository
scons
Branch
default

The _r in AIX xlc_r means reentrant, not relocatable.

Author
  1. haubi
Reviewers
Description

've wondered about the defaults for SHCC=xlc_r and CC=xlc on AIX. Actually, 'xlc_r' has the same meaning as 'xlc -qthreaded' and has nothing to do with shared libraries. Also, using 'egrep' to parse 'lslpp' output feels needless, it's easy enough in python - as long as the _subproc.dummyPopen streams are iterable.

This patch would require to change Tools/aixlink.py as well if applied without pull-request#139, so please consider that one earlier, which drops that need: https://bitbucket.org/scons/scons/pull-request/139/delegate-linker-toolexists-to-cc-cxx/diff

  • Learn about pull requests

Comments (0)