similar to: Using LLD to link against third-party libraries? How?

Displaying 20 results from an estimated 3000 matches similar to: "Using LLD to link against third-party libraries? How?"

2018 Dec 11
2
Using LLD to link against third-party libraries? How?
I add the -fuse-ld=lld flag to the compiler command line itself. And I included LLD when I built LLVM (I checked out the mono repo and built that version). What command line arguments should I pass to LLD when I want to link against third-party libraries? That's what I'm asking. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2018 Dec 12
2
Using LLD to link against third-party libraries? How?
Osman Zakir <osmanzakir90 at hotmail.com> writes: > LLVM on a Developer Command Prompt. I don't know what you mean by that. "LLVM" isn't a command. Can you post the exact command you use to link? > The ones I want to fix first are the ones from Boost and Jinja2Cpp. I > saw some from those as well. I'm not at all familiar with Jinja2Cpp. Is it possible
2018 Dec 11
2
Using LLD to link against third-party libraries? How?
I already mentioned what flag I tried. It's in the first email in this thread. And I want to link against Boost.System and the Jinja2Cpp library (the latter's documentation can be found here: https://github.com/flexferrum/Jinja2Cpp . And I also have some GUI applications using FLTK as well that I want to try to build using LLVM as well, so I'll have to know how to link against
2018 Dec 12
2
Using LLD to link against third-party libraries? How?
I couldn't get it to build libcxx... You need c++ and c++abi to compile c++ code. On Wed, Dec 12, 2018, 07:01 Osman Zakir via llvm-dev < llvm-dev at lists.llvm.org> wrote: > LLVM on a Developer Command Prompt. The ones I want to fix first are the > ones from Boost and Jinja2Cpp. I saw some from those as well. > > If there any standard library ones missing, could it be
2018 Dec 11
3
Using LLD to link against third-party libraries? How?
Are you linking with a C++ compiler? A lot of those missing symbols look like they come from the C++ standard library. -David Osman Zakir via llvm-dev <llvm-dev at lists.llvm.org> writes: > @blubee blubeeme So what do you think? Got any ideas? > ---------------------------------------------------------------------- > From: Osman Zakir <osmanzakir90
2018 Dec 12
4
Using LLD to link against third-party libraries? How?
I need them so I can build stuff using clang or clang-cl with its C++ standard libraries. To make sure that lld-link won't give errors about missing symbols from any standard libraries. By the way, you wouldn't happen to know how to use link.exe, would you? I might need some help on that to understand how to use lld-link.exe. ________________________________ From: Zachary Turner
2018 Dec 12
3
Using LLD to link against third-party libraries? How?
So how do I get it to build libcxx and libcxxabi? I got it from the mono repo and enabled lld, clang, libcxx and libcxxabi. But I built the two main CMake targets only--all_build and install. What else do I have to do? Please let me know. ________________________________ From: Zachary Turner <zturner at google.com> Sent: Wednesday, December 12, 2018 11:10 AM To: blubee blubeeme Cc: Osman
2018 Dec 12
4
Using LLD to link against third-party libraries? How?
How can I tell CMake during the configuration step where to find my zlib installation? ________________________________ From: blubee blubeeme <gurenchan at gmail.com> Sent: Wednesday, December 12, 2018 7:31 PM To: Osman Zakir Cc: llvm-dev Subject: Re: [llvm-dev] Using LLD to link against third-party libraries? How? I would agree with the next email from Brian Cain If you do not have
2018 Dec 02
2
Linking third-party libraries using lld?
I still need answer to my question about how to make sure that libcxx and libcxxabi are also built after enabling them, but I have another problem right now. I want to know how to link third-party libraries into my code using the lld linker. I have this code: https://github.com/DragonOsman/currency_converter
2018 Dec 11
2
Using LLD to link against third-party libraries? How?
In my code here https://github.com/DragonOsman/currency_converter , I used C++17 and managed to get it to work (though I'm only using std::map::insert_or_assign() from C++17). And I'm using Windows, so I shouldn't use LDFLAGS or CXXFLAGS as environment variables. I'll use them directly on the compiler command line instead. The libraries I need to link against are
2018 Nov 27
3
Have LLD and Clang in their correct locations, but still can't generate project files for LLVM
I think most people are using ninja to do the build. You can still use the Visual Studio generator for the IDE experience while doing build from ninja. I know there are a couple of people who build from inside of Visual Studio, but it's a pretty small number, and I don't think they are targeting WebAssembly. On Tue, Nov 27, 2018 at 12:46 PM Osman Zakir via llvm-dev < llvm-dev at
2018 Nov 26
3
Have LLD and Clang in their correct locations, but still can't generate project files for LLVM
Yeah, I don't think that matters. It did set the toolset architecture to x64. You know, I attached those log files for a reason. ________________________________ From: Zachary Turner <zturner at google.com> Sent: Tuesday, November 27, 2018 4:27 AM To: Osman Zakir Cc: llvm-dev at lists.llvm.org Subject: Re: [llvm-dev] Have LLD and Clang in their correct locations, but still can't
2018 Nov 28
2
Have LLD and Clang in their correct locations, but still can't generate project files for LLVM
@Jonathan Goodwin: Do I have to use a flag to tell it where the LLVM include files are? And would it be easier to do that in the CMake GUI? Please tell me how you had it find the include files if that may help me. ________________________________ From: Jonathan Goodwin <jondgoodwin at gmail.com> Sent: Wednesday, November 28, 2018 6:24 AM To: zturner at google.com Cc: Osman Zakir; llvm-dev
2018 Nov 29
3
Errors in configuration for LLVM with CMake GUI
This output is much more interesting. Can you show the full cmake command line or set of variables that you configured? 1. I don't know why it's saying it requires Perl. Perl is absolutely not a requirement 2. I don't know why it's trying to build openmp or compiler-rt. I guess it depends on how you configured CMake. openmp I don't think is well supported (perhaps not even
2018 Nov 29
7
Errors in configuration for LLVM with CMake GUI
I probably need GCC for Git bash. And the one I have is MinGW's GCC, which is the one for Windows. I don't know why CMake is trying to find Linux headers. Hopefully someone who knows better what to do will weigh in here. @Jonathan Goodwin<mailto:jondgoodwin at gmail.com> , are you sure you didn't have to tell it where the header files for Windows are? If I need to specify
2018 Nov 29
2
Errors in configuration for LLVM with CMake GUI
I don't know what executable to point it to for SVN because, like I said before, I just right click where I want to check something out and click what I need in the context menu. So I need to know what executable to point it to. ________________________________ From: Osman Zakir <osmanzakir90 at hotmail.com> Sent: Thursday, November 29, 2018 11:06 PM To: Zachary Turner; llvm-dev at
2017 Dec 07
2
Updating LLVM/Clang support for VS for VS2017
CCing Zach, who did a lot of the VS 2017 support work (AFAIK), and Reid, who's the general Microsoft support overlord. By full support for VS 2017, do you mean within the IDE itself? I haven't ever used clang from within the VS IDE, so I can't speak to that. All non-IDE stuff should work though, as far as I know. Which compiler options/switches specifically are missing? Filing bugs
2019 Oct 10
4
Building For x64 Windows using LLVM
I'm trying to do it by passing "-Xclang -m64" on the VS2019 command line options panel but it gives the error "unknown argument" on "-m64". How do I do it? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191010/37832cc8/attachment.html>
2019 Apr 24
2
CMake Error at tools/clang/lib/Headers/cmake_install.cmake:36 (file): file INSTALL cannot find "C:/llvm-project/build/$(Configuration)/lib/clang/9.0.0/include".
Hi, everyone. I'm trying to build LLVM myself because the page I was linked to with the links to pre-built binaries doesn't have a passing WASM build of LLVM. Or at least didn't when I last checked there. With that being said, though, when I tried to build INSTALL.vcxproj, I got the error mentioned in the title of this message. The full error message is in the attached text file.
2018 Nov 26
2
Have LLD and Clang in their correct locations, but still can't generate project files for LLVM
I ran CMake on the command line with this command: " cmake .. -DCMAKE_INSTALL_PREFIX=../install_x64 -T host=x64 -G "Visual Studio 15 2017 Win64" -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly " And I have LLD and Clang where they should be. But I still couldn't generate project files. The path to the build and installation directories don't have spaces at all this