Groups
Groups
Sign in
Groups
Groups
TopLanguage
Conversations
About
Send feedback
Help
[llvm] LLVM用到的C标准库?
242 views
Skip to first unread message
sagasw
unread,
Nov 23, 2010, 1:14:51 AM
11/23/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pongba
看到一则新闻,说LLVM实现了libc++,
我对C++不是很好奇,但是想知道llvm如何link标准C库,
下载了llvm2.8,clang,以及llvm-gcc-4.2源代码,都没有发现libc的踪迹,
感觉非常好奇。
我知道gnu c lib,
http://www.gnu.org/software/libc/
llvm也是使用这个标准库么?
------------------------------------------
blog:
http://sunxiunan.com/
C++, Lua, living in Dalian
http://twitter.com/sagasw
------------------------------------------
OxFAN
unread,
Nov 23, 2010, 1:26:01 AM
11/23/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pon...@googlegroups.com
应该是llvm自己实现的,可以运行在llvm上的c库。
sagasw
unread,
Nov 23, 2010, 1:29:23 AM
11/23/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pon...@googlegroups.com
没找到,能说一下相关的project或者目录么?
------------------------------------------
blog:
http://sunxiunan.com/
C++, Lua, living in Dalian
http://twitter.com/sagasw
------------------------------------------
2010/11/23 OxFAN
<
oday...@gmail.com
>
OxFAN
unread,
Nov 23, 2010, 2:03:43 AM
11/23/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pon...@googlegroups.com
刚才讲错了,应该是使用的标准库的代码编译生成的LLVM的op codes。
http://llvm.org/docs/LangRef.html#linkage
这个不知合不合需求。
LLVM可以与本地代码接口链接,只是这样就失去LLVM的优越性了。
Reply all
Reply to author
Forward
0 new messages