Hello, NAKAMURA Takumi<br><br>As you said, I check out the head from svn trunk.<br>I build the source code as the following steps:<br>   $./configure --enable-shared    <br>  $ make<br><br>After  1 hour,  the building procedure is stopped and appear the following error message:<br>
<br>c:/strawberry/c/bin/../lib/gcc/i686-w64-mingw32/4.4.3/../../../../i686-w64-mingw<br>32/bin/ld.exe: F:/msys/1.0/home/MK/llvm-2.8/llvm/tools/llvm-shlib/Debug+Asserts/<br><span style="color: rgb(255, 0, 0);">LLVM-2.8svn.a.o: too many sections (63677)</span><br>
c:/strawberry/c/bin/../lib/gcc/i686-w64-mingw32/4.4.3/../../../../i686-w64-mingw<br><span style="color: rgb(255, 0, 0);">32/bin/ld.exe: final link failed: File too big</span><br>collect2: ld returned 1 exit status<br>make[1]: *** [/usr/home/MK/llvm-2.8/llvm/tools/llvm-shlib/Debug+Asserts/LLVM-2.8<br>
svn.a.o] Error 1<br>make[1]: Leaving directory `/home/MK/llvm-2.8/llvm/tools/llvm-shlib'<br>make: *** [all] Error 1<br> <br>Expect your answer.<br><br><br><br>Thanks,<br>yuanzheng.<br><br><br><div class="gmail_quote">
2010/9/2 NAKAMURA Takumi <span dir="ltr"><<a href="mailto:geek4civic@gmail.com">geek4civic@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello, Yuan<br>
<div class="im"><br>
> I'm a newbie about llvm. Now, our project need the dynamic link library(dll)<br>
> about all of llvm library, such as libLLVMCore.dll, libLLVMSupport.dll, and<br>
> so on. How should I do?<br>
<br>
</div>You may do, "/path/to/configure --enable-shared=yes",<br>
to build LLVM-2.8svn.dll.<br>
On your project, you have to specify to linker,<br>
"-L/path/to/dll -lLLVM-2.8svn"<br>
(maybe with -Wl,--enable-auto-import)<br>
<br>
We provide not individual DLLs but a "BIG" one.<br>
We don't provide import libraries.<br>
<br>
I think "DLL" feature is still experimental, and I need more feedback.<br>
When you met any troubles with DLL, ask here or file bugs!<br>
<br>
Have fun!<br>
<font color="#888888"><br>
<br>
...Takumi<br>
</font></blockquote></div><br>