It's looks the progress is very slow, is there any problem here?<div><br><br><div class="gmail_quote">2011/5/15 Hans Stimer <span dir="ltr"><<a href="mailto:hans.stimer@gmail.com">hans.stimer@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">It looks like it is kind of stalled:<div><br></div><div><div>~/extern/llvm.head/lib/Object $ svn log</div><div><div></div>
<div class="h5"><div><br></div><div><br></div><br><div class="gmail_quote">On Sat, May 14, 2011 at 11:07 AM, Hans Stimer <span dir="ltr"><<a href="mailto:hans.stimer@gmail.com" target="_blank">hans.stimer@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It looks like someone got started on this project:<div><br></div><div><a href="http://www.llvm.org/devmtg/2010-11/Spencer-ObjectFiles.pdf" target="_blank">http://www.llvm.org/devmtg/2010-11/Spencer-ObjectFiles.pdf</a></div>
<div><br></div>
<div>Does anyone know what kind of progress has been made?<div><div></div><div><br><br><div class="gmail_quote">On Sat, May 14, 2011 at 9:10 AM, Reed Kotler <span dir="ltr"><<a href="mailto:rkotler@mips.com" target="_blank">rkotler@mips.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#ffffff" text="#000000">
It's not so easy to create a linker that has all the bells and
whistles, especially on windows.<br>
You have to look at the totality of options, linker files, shared
objects, etc.<br>
It's not a weekend project.<br>
<br>
If you want to read the elf manual and gnu ld and then write a new
one you could do that. Clang can easily be fixed to incorporate it
either as a default or as an optional linker. The GNU ld for mingw
must know a lot about windows linking but probably not all.<br>
<br>
In some worlds Coff format is still relevant.<br>
<br>
Microsoft has their own form of Coff that they use even today.<br>
<br>
Back in the early days of Windows NT I wrote one for that OS because
Microsoft stopped distributing one with the OS and spent a lot of
time reverse engineering Microsofts until I could really do all that
it could do. Traditionally the OS manufacturer wrote the linker and
did not document things well enough for someone else to.<br>
<br>
Clang is not just for linux; people are going to build embedded bare
metal apps and the OS itself (linux for example) and need many
obscure features. <br>
<br>
I think writing a new elf linker for linux and bare metal is
possible but I would forget about supporting COFF and Microsoft
format and other OS's like BSD or at least leave that open for
someone else to add that can really add all the bells and whistles
for that OS.<br><font color="#888888">
<br>
reed</font><div><div></div><div><br>
<br>
On 05/14/2011 07:35 AM, Justin Holewinski wrote:
<blockquote type="cite">
<div class="gmail_quote">On Fri, May 13, 2011 at 2:20 PM, Hans
Stimer <span dir="ltr"><<a href="mailto:hans.stimer@gmail.com" target="_blank">hans.stimer@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
It appears that when you link bitcode files into a native
executable using llvm-ld, that gcc is used for the final step.
<div><br>
</div>
<div>I would like to create a tool that creates native
executables without requiring gcc/clang. Is that currently
supported with llvm?</div>
</blockquote>
<div><br>
</div>
<div>To create executables, LLVM relies on the system linker
(gcc, visual c, etc.). Even Clang uses the system linker for
the final link step.</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>
<a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<br>
<div>Thanks,</div>
<div><br>
</div>
<div>Justin Holewinski</div>
<br>
<pre><fieldset></fieldset>
_______________________________________________
LLVM Developers mailing list
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br> 此致<br>礼<br>罗勇刚<br>Yours<br> sincerely,<br>Yonggang Luo<br><br>
</div>