bpo-31904: add library search path by wr-cc in add_cross_compiling_paths() by pxinwr · Pull Request #24191 · python/cpython · GitHub
Skip to content

bpo-31904: add library search path by wr-cc in add_cross_compiling_paths() - #24191

Merged
vstinner merged 5 commits into
python:masterfrom
Wind-River:fix-issue-31904-wrccpath
Jan 22, 2021
Merged

vstinner merged 5 commits into
python:masterfrom
Wind-River:fix-issue-31904-wrccpath

Conversation

@pxinwr

@pxinwr pxinwr commented Jan 11, 2021

Copy link
Copy Markdown
Contributor

VxWorks has a compiler driver utility called wr-cc which wraps gcc or clang compiler. The call of sysconfig.get_config_var('CC') on building machine returns "wr-cc" for VxWorks cross compiling. "wr-cc --print-search-dirs" will add VSB specific path for library searching. Building extension modules will need these paths. So adding them in add_cross_compiling_paths().

https://bugs.python.org/issue31904

Comment thread setup.py Outdated
Comment thread setup.py
Comment thread setup.py Outdated
Comment thread setup.py Outdated
Comment thread setup.py Outdated
Comment thread setup.py Outdated
Comment thread setup.py Outdated
Comment thread setup.py Outdated
@vstinner

Copy link
Copy Markdown
Member

@vstinner
vstinner merged commit 5e45f1c into python:master Jan 22, 2021
@vstinner

Copy link
Copy Markdown
Member

adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
Add library search path by wr-cc in add_cross_compiling_paths().
@pxinwr
pxinwr deleted the fix-issue-31904-wrccpath branch May 7, 2021 07:42
@kuhlenough kuhlenough mannequin mentioned this pull request Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants