Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to cross-compile libcxx and libgcc? #128415

Open
darealshinji opened this issue Feb 23, 2025 · 0 comments
Open

How to cross-compile libcxx and libgcc? #128415

darealshinji opened this issue Feb 23, 2025 · 0 comments
Labels
libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Comments

@darealshinji
Copy link

I was trying to create a cross-build environment for the target x86_64-w64-mingw32 that was independent from GCC. Replacements for libstdc++ and libgcc were only missing, but when I try to build them here from scratch, cmake is testing if an executable can be compiled and linked and therefor fails, since the libraries I'm trying to build are missing.
Is there no way to skip this test in cmake? -DBUILD_SHARED_LIBS=OFF doesn't help.

@llvmbot llvmbot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Projects
None yet
Development

No branches or pull requests

2 participants