Hello everyone!<div><br></div><div>I got following error while trying to compile llvm-gcc-4.2 using mingw: </div><div><br></div><div><div><font class="Apple-style-span" face="'courier new', monospace">..\llvm-gcc-4.2\obj\libcpp/../../libcpp/macro.c:1165:</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">undefined reference to `flag_iasm_blocks'</font></div><div><font class="Apple-style-span" face="'courier new', monospace">stub-c.o:stub-c.c:(.debug_info+0x81a0): undefined reference to `flag_iasm_blocks'</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">stub-c.o:stub-c.c:(.debug_info+0x81b9): undefined reference to `iasm_state'</font></div><div><font class="Apple-style-span" face="'courier new', monospace">stub-c.o:stub-c.c:(.debug_info+0x81d8): undefined reference to `iasm_in_operands'</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div>Configuration command<font class="Apple-style-span" face="'courier new', monospace">:</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><div>
../configure --enable-languages=,c++,fortran --prefix=u:/libs/llvm-gcc-2.9 --program-prefix=llvm- --enable-llvm=u:/libs/llvm-2.9 --disable-bootstrap --disable-multilib</div><div><br></div></font>LLVM itself was compiled & installed successfully with such configuration:</div>
<div><font class="Apple-style-span" face="'courier new', monospace">../configure --prefix=u:/libs/llvm-2.9 --enable-optimized --enable-assertions</font></div><div><br></div><div>I tried latest sources from SVN and from official download page - result is the same.  </div>
<div>I followed few guides on compilation(including official one) - same.</div><div><br></div><div>MinGW has gcc 4.6.1 and it seems all required packages (binutils, perl, gfortran, mpfr, gmp, etc) are installed.</div><div>
<br></div><div>I would appreciate any help on how to solve this problem. </div><div><br></div><div>Thank you in advance.</div><div>Pavel.</div><div><br></div><div>P.S.</div><div>BTW, it is little bit strange that llvm-gcc doesn't support CMake building system. </div>
<div>LLVM does and it is extremely convenient.... </div></div>