What does LIBCXX_LIBCPPABI_VERSION get set to when building libcxx?
I'm working on a build script to build LLVM 7.0 release tarballs from sources. Most of my attempts to build libcxx and libcxxabi have failed. Someone suggested I should set LIBCXX_LIBCPPABI_VERSION
.
I have not located documentation on the CMake option. I found a mailing list message that sets it to "2"
, but it is in the context of OS X. I also found a Ubuntu patch that sets it to empty ""
.
What should the value of LIBCXX_LIBCPPABI_VERSION
be when building libcxx and libcxxabi from sources?
clang llvm libc++
add a comment |
I'm working on a build script to build LLVM 7.0 release tarballs from sources. Most of my attempts to build libcxx and libcxxabi have failed. Someone suggested I should set LIBCXX_LIBCPPABI_VERSION
.
I have not located documentation on the CMake option. I found a mailing list message that sets it to "2"
, but it is in the context of OS X. I also found a Ubuntu patch that sets it to empty ""
.
What should the value of LIBCXX_LIBCPPABI_VERSION
be when building libcxx and libcxxabi from sources?
clang llvm libc++
add a comment |
I'm working on a build script to build LLVM 7.0 release tarballs from sources. Most of my attempts to build libcxx and libcxxabi have failed. Someone suggested I should set LIBCXX_LIBCPPABI_VERSION
.
I have not located documentation on the CMake option. I found a mailing list message that sets it to "2"
, but it is in the context of OS X. I also found a Ubuntu patch that sets it to empty ""
.
What should the value of LIBCXX_LIBCPPABI_VERSION
be when building libcxx and libcxxabi from sources?
clang llvm libc++
I'm working on a build script to build LLVM 7.0 release tarballs from sources. Most of my attempts to build libcxx and libcxxabi have failed. Someone suggested I should set LIBCXX_LIBCPPABI_VERSION
.
I have not located documentation on the CMake option. I found a mailing list message that sets it to "2"
, but it is in the context of OS X. I also found a Ubuntu patch that sets it to empty ""
.
What should the value of LIBCXX_LIBCPPABI_VERSION
be when building libcxx and libcxxabi from sources?
clang llvm libc++
clang llvm libc++
asked Nov 24 '18 at 16:01
jwwjww
53.5k40231508
53.5k40231508
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Here are the details of configuration required to build libcxxabi and libcxx:
To build:
- Check out libcxxabi into llvm/projects
- cd llvm
- mkdir build && cd build
- cmake .. # on linux you may need to prefix with CC=clang CXX=clang++
- make
To do a standalone build:
- Check out the libcxx source tree.
- cd libcxxabi
- mkdir build && cd build
- cmake -DLIBCXXABI_LIBCXX_PATH=path/to/libcxx .. # on linux you may
need -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ - make
By default CMake uses llvm-config to locate the required LLVM sources. If CMake cannot find llvm-config then you must configure CMake using either of the following options.
-DLLVM_CONFIG_PATH=path/to/llvm-config
-DLLVM_PATH=path/to/llvm-source-root
To run the tests:
- make check-cxxabi
Note: in a standalone build, the system's libc++ will be used for tests. If the system's libc++ was statically linked against libc++abi (or linked against a different ABI library), this may interfere with test results.
for further information please check:
https://libcxxabi.llvm.org/
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53459921%2fwhat-does-libcxx-libcppabi-version-get-set-to-when-building-libcxx%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Here are the details of configuration required to build libcxxabi and libcxx:
To build:
- Check out libcxxabi into llvm/projects
- cd llvm
- mkdir build && cd build
- cmake .. # on linux you may need to prefix with CC=clang CXX=clang++
- make
To do a standalone build:
- Check out the libcxx source tree.
- cd libcxxabi
- mkdir build && cd build
- cmake -DLIBCXXABI_LIBCXX_PATH=path/to/libcxx .. # on linux you may
need -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ - make
By default CMake uses llvm-config to locate the required LLVM sources. If CMake cannot find llvm-config then you must configure CMake using either of the following options.
-DLLVM_CONFIG_PATH=path/to/llvm-config
-DLLVM_PATH=path/to/llvm-source-root
To run the tests:
- make check-cxxabi
Note: in a standalone build, the system's libc++ will be used for tests. If the system's libc++ was statically linked against libc++abi (or linked against a different ABI library), this may interfere with test results.
for further information please check:
https://libcxxabi.llvm.org/
add a comment |
Here are the details of configuration required to build libcxxabi and libcxx:
To build:
- Check out libcxxabi into llvm/projects
- cd llvm
- mkdir build && cd build
- cmake .. # on linux you may need to prefix with CC=clang CXX=clang++
- make
To do a standalone build:
- Check out the libcxx source tree.
- cd libcxxabi
- mkdir build && cd build
- cmake -DLIBCXXABI_LIBCXX_PATH=path/to/libcxx .. # on linux you may
need -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ - make
By default CMake uses llvm-config to locate the required LLVM sources. If CMake cannot find llvm-config then you must configure CMake using either of the following options.
-DLLVM_CONFIG_PATH=path/to/llvm-config
-DLLVM_PATH=path/to/llvm-source-root
To run the tests:
- make check-cxxabi
Note: in a standalone build, the system's libc++ will be used for tests. If the system's libc++ was statically linked against libc++abi (or linked against a different ABI library), this may interfere with test results.
for further information please check:
https://libcxxabi.llvm.org/
add a comment |
Here are the details of configuration required to build libcxxabi and libcxx:
To build:
- Check out libcxxabi into llvm/projects
- cd llvm
- mkdir build && cd build
- cmake .. # on linux you may need to prefix with CC=clang CXX=clang++
- make
To do a standalone build:
- Check out the libcxx source tree.
- cd libcxxabi
- mkdir build && cd build
- cmake -DLIBCXXABI_LIBCXX_PATH=path/to/libcxx .. # on linux you may
need -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ - make
By default CMake uses llvm-config to locate the required LLVM sources. If CMake cannot find llvm-config then you must configure CMake using either of the following options.
-DLLVM_CONFIG_PATH=path/to/llvm-config
-DLLVM_PATH=path/to/llvm-source-root
To run the tests:
- make check-cxxabi
Note: in a standalone build, the system's libc++ will be used for tests. If the system's libc++ was statically linked against libc++abi (or linked against a different ABI library), this may interfere with test results.
for further information please check:
https://libcxxabi.llvm.org/
Here are the details of configuration required to build libcxxabi and libcxx:
To build:
- Check out libcxxabi into llvm/projects
- cd llvm
- mkdir build && cd build
- cmake .. # on linux you may need to prefix with CC=clang CXX=clang++
- make
To do a standalone build:
- Check out the libcxx source tree.
- cd libcxxabi
- mkdir build && cd build
- cmake -DLIBCXXABI_LIBCXX_PATH=path/to/libcxx .. # on linux you may
need -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ - make
By default CMake uses llvm-config to locate the required LLVM sources. If CMake cannot find llvm-config then you must configure CMake using either of the following options.
-DLLVM_CONFIG_PATH=path/to/llvm-config
-DLLVM_PATH=path/to/llvm-source-root
To run the tests:
- make check-cxxabi
Note: in a standalone build, the system's libc++ will be used for tests. If the system's libc++ was statically linked against libc++abi (or linked against a different ABI library), this may interfere with test results.
for further information please check:
https://libcxxabi.llvm.org/
answered Dec 1 '18 at 9:44
ritesh sanganiritesh sangani
213
213
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53459921%2fwhat-does-libcxx-libcppabi-version-get-set-to-when-building-libcxx%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown