Hi, NAKAMURA Takumi<br><br>According to your prompt, I'm very glad that it can generate llvm-2.8svn.dll !<br><br>But there is still some <span id="result_box" class="short_text"><span style="" title="">compatibility problem between llvm-2.8 <br>
and our project. If we use llvm-2.6, there is no problem.<br><br>I would study the code of LLVM to find the difference recently,<br>and I will contact you if I make some progress.<br><br>Thanks for your </span></span><span id="result_box" class="short_text"><span style="" title="">enthusiastic</span></span>  and timely answer. <br>
<span id="result_box" class="short_text"><span style="" title=""><br>Thanks,<br>yuanzheng.<br></span></span><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;">Good evening, Yuan<br>
<br>
Excuse me, I gave up Debug build earlier due to my poor hosts.<br>
I will improve able to build Debug ;)<br>
<br>
You may build with --enable-optimized=yes<br>
(or, make ENABLE_OPTIMIZED=1)<br>
<br>
btw, DLL builder has implemented since Aug.<br>
It might be easier to port DLL stuff to 2.6 :) Do you try?<br>
<br>
<br>
...Takumi<br>
<br>
<br>
2010Äê9ÔÂ2ÈÕ 17:16:25 UTC+9 yuan zheng <<a href="mailto:tsinghuayuan86@gmail.com">tsinghuayuan86@gmail.com</a>>:<br>
<div><div></div><div class="h5">> 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<br>
> error message:<br>
><br>
> c:/strawberry/c/bin/../lib/gcc/i686-w64-mingw32/4.4.3/../../../../i686-w64-mingw<br>
> 32/bin/ld.exe:<br>
> F:/msys/1.0/home/MK/llvm-2.8/llvm/tools/llvm-shlib/Debug+Asserts/<br>
> LLVM-2.8svn.a.o: too many sections (63677)<br>
> c:/strawberry/c/bin/../lib/gcc/i686-w64-mingw32/4.4.3/../../../../i686-w64-mingw<br>
> 32/bin/ld.exe: final link failed: File too big<br>
> collect2: ld returned 1 exit status<br>
> make[1]: ***<br>
> [/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>
> 2010/9/2 NAKAMURA Takumi <<a href="mailto:geek4civic@gmail.com">geek4civic@gmail.com</a>><br>
>><br>
>> Hello, Yuan<br>
>><br>
>> > I'm a newbie about llvm. Now, our project need the dynamic link<br>
>> > library(dll)<br>
>> > about all of llvm library, such as libLLVMCore.dll, libLLVMSupport.dll,<br>
>> > and<br>
>> > so on. How should I do?<br>
>><br>
>> 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>
>><br>
>><br>
>> ...Takumi<br>
><br>
><br>
</div></div></blockquote></div><br>