[LLVMdev] successfully bootstraped on a i686-linux-gnu

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Apr 21 09:47:28 PDT 2006

Building with --enable-llvm failed latter on when compiling libojc:

configure:5099: checking for exception model to use
configure:5131:  /home/rafael/dev/gcc/build/gcc/xgcc
-B/home/rafael/dev/gcc/build/gcc/ -B/i686-pc-linux-gnu/bin/
-B/i686-pc-linux-gnu/lib/ -isystem /i686-pc-linux-gnu/include -isystem
/i686-pc-linux-gnu/sys-include -c -xobjecti
ve-c -fgnu-runtime -fobjc-exceptions -S  conftest.c >&5
WARNING: EH not supported yet!
configure:5134: $? = 0
configure:5155: error: unable to detect exception model

To work aroud the problem I edited gcc/objc/config-lang.in and removed
the comment from the line

With this change it is again possible to build without objc. The
complete configure line was

../llvm-gcc4-1.7.source/configure --prefix=$CFEINSTALL
--enable-languages=c,c++ --program-prefix=llvm-
--enable-llvm=/home/rafael/dev/obj/ --enable-checking

Best Regards,

More information about the llvm-dev mailing list