doc: update compile manual
This commit is contained in:
14
COMPILE.md
14
COMPILE.md
@@ -27,10 +27,16 @@ So you actually do not need Google Test, Google Benchmark and Doxygen.
|
|||||||
### Compiler
|
### Compiler
|
||||||
|
|
||||||
> [!WARNING]
|
> [!WARNING]
|
||||||
> You may face some issues when building on macOS with Clang. That's not your fault.
|
> You may face some issues when building on macOS with Apple Clang. That's not your fault.
|
||||||
> Clang used libc++ library lacks some essential features used by this project.
|
> Clang and Apple Clang used libc++ library lacks some essential features used by this project.
|
||||||
> A possible solution is that use GCC and libstdc++ on macOS instead of default Clang and libc++.
|
> This is especially not good for Apple Clang because Apple Clang is usually behind Clang a bunch of versions.
|
||||||
> Build issue may be resolved until libc++ finish these features: `std::stacktrace` and `std::views::enumerate`.
|
>
|
||||||
|
> For resolving this issue, I have written a series of patch header files for libcxx and you can find them in include directory.
|
||||||
|
> This project should be compiled on macOS but everything has exception.
|
||||||
|
> If you really have this issue, a possible solution is that use GCC and libstdc++ on macOS instead of default Clang and libc++.
|
||||||
|
>
|
||||||
|
> Build issue may be resolved until libc++ finish these features: complete `std::from_chars` and `std::to_chars`,
|
||||||
|
> `std::stacktrace` and `std::views::enumerate`.
|
||||||
|
|
||||||
### Google Test
|
### Google Test
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user