Displaying 7 results from an estimated 7 matches for "linker_languag".
Did you mean:
linker_language
2009 Oct 07
2
[LLVMdev] Hi, everyone, fail on building c-index-test
>
> I've committed my suggested fix. There's no point in setting the
> LINKER_LANGUAGE property of every LLVM library, because CMake figures out
> the right language based on the file extensions of the source files.
Yes, CMake figures out the *right language* based on the file extensions of
the source files.
But, llvm is based on *C++*
for example, if you create a application ju...
2009 Oct 05
0
[LLVMdev] Hi, everyone, fail on building c-index-test
On Oct 5, 2009, at 3:17 PM, 罗勇刚(Yonggang Luo) wrote:
> Is there anyone get the time to apply this patch?
I've committed my suggested fix. There's no point in setting the
LINKER_LANGUAGE property of every LLVM library, because CMake figures
out the right language based on the file extensions of the source files.
- Doug
> 2009/10/2, Douglas Gregor <dgregor at apple.com>:
>>
>> On Oct 1, 2009, at 6:36 AM, 罗勇刚(Yonggang Luo) wrote:
>>
>>> At th...
2009 Oct 05
2
[LLVMdev] Hi, everyone, fail on building c-index-test
...compiling the c-index-test project
>>
>> Is there any solution to this problem?
>
> You're building using CMake? Try modifying tools/CIndex/CMakeLists.txt
> by adding the following command at the end:
>
> set_target_properties(CIndex
> PROPERTIES
> LINKER_LANGUAGE CXX)
>
> If that works for you, please tell me so I can commit the change to svn.
>
> - Doug
--
从我的移动设备发送
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
2009 Oct 07
0
[LLVMdev] patch for CIndex linakge error on Mingw, set the proper LINKER_LANGUAGE for CIndex and c-index-test
...ned reference to `llvm::MemoryBuffer::getFile(char const*,
std::string*, long long)'
..\..\..\..\lib\libclangFrontend.a(PCHReader.cpp.obj):PCHReader.cpp:(.text+0x860c):
undefined refer
.......
And more
These two patch should apply at the same time.
It's not a good idea to direct set the LINKER_LANGUAGE
at CMakeLists.txt files.
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091007/8f200505/attachment.html>
-------------- next part --------------
A n...
2010 Nov 04
1
[LLVMdev] LLVM Cmake module?
Eli Gottlieb <eligottlieb at gmail.com> writes:
> So you're saying that the default CMake build of LLVM creates static
> libraries that got linked into my shared-object and now require me to
> link in everything they require myself? Shouldn't the linker be able
> to track down C++ runtime for this?
You told CMake to manage your shared library as if it were a pure C
2010 Nov 04
0
[LLVMdev] LLVM Cmake module?
On Nov 4, 2010, at 11:48 AM, Óscar Fuentes wrote:
> Eli Gottlieb <eligottlieb at gmail.com> writes:
>
>> So you're saying that the default CMake build of LLVM creates static
>> libraries that got linked into my shared-object and now require me to
>> link in everything they require myself? Shouldn't the linker be able
>> to track down C++ runtime for
2012 Jul 07
2
[LLVMdev] Problem in LLVM CMake modules
...llvm_map_components_to_libraries(REQ_LLVM_LIBRARIES all)
# Finally, we link the LLVM libraries to our executable:
target_link_libraries(jllvm ${REQ_LLVM_LIBRARIES})
# LLVM typically comes installed as static libraries, so make sure to link in the C++ runtimes.
set_target_properties(jllvm PROPERTIES LINKER_LANGUAGE CXX)