------- Comment #29 from sherpya at netfarm dot it 2010-04-09 18:30 ------- using -flto links, but looks like it links in a different way
while linking llvm part I get ice: In member function 'RefineAbstractType': lto1: internal compiler error: in input_gimple_stmt, at lto-streamer-in.c:1108 Please submit a full bug report, with preprocessed source if appropriate. See <http://oss.netfarm.it/> for instructions. lto-wrapper: /opt/mingw/bin/i686-pc-mingw32-g++ returned 1 exit status clamav is not directly compilable with mingw I maintain an unofficial port used in clamwin I've made a simple set of makefiles (without deps by design) to build the mingw version even in cross git clone git://clamwin.git.sourceforge.net/gitroot/clamwin/clamav-win32.git cd contrib/mingw MINGW32_CROSS_PREFIX=i686-pc-mingw32- make or something like make llvm to make llvm dll (I've made a trick to have llvm jit optional) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42776