-
Notifications
You must be signed in to change notification settings - Fork 3
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
state of libc++ for msys's mingw #7
Comments
This repository is not related to MSYS2 packages. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm trying to compile a simple c++ source
with
clang++
andlibc++
under msys's mingw. It requires these packages:Now under Linux I can issue the following compile command, which works
clang++ -std=c++14 -stdlib=libc++ hello.cpp -o hello -lc++abi #or clang++ -std=c++14 -stdlib=libc++ hello.cpp -o hello -nodefaultlibs -lc++ -lc++abi -lm -lc -lgcc_s -lgcc
But under msys2, I'm always failing...
I'm now using
(taking this as clue)
but still get errors like
Now I've seen:
https://github.com/martell/mingw-w64-clang/blob/8186317d9addb132701d83c588634ba6a4090cb9/README.MD#status
so I'm beginning to believe that it might not be working yet!
Could you shed some light on this?
What is the state of msys's libc++? Is it usable? Which flags should I pass? Any usable cmake example?
Thanks.
The text was updated successfully, but these errors were encountered: