[LLVMdev] successfully bootstraped on a i686-linux-gnu
sabre at nondot.org
Mon May 1 16:45:59 PDT 2006
On Mon, 1 May 2006, xia_nai at yahoo.com.cn wrote:
> I recently bootstrapped gcc4 frontend on a i686-linux-gnu too.
> As I notice, if the llvm "tools-only " was build with srcdir != objdir ,
> the building of llvm-gcc4-1.7.source encountered mistakes of unable to find some header files.
> So I just edited llvm-gcc4-1.7.source/gcc/Makefile.in and a line like this:
> INCLUDES += -I$(LLVMOBJDIR)/include
> With this change, the building errors were gone.
> Is this the right hack? Thanks.
Yup, that's right!
> On Friday 28 April 2006 08:05, Chris Lattner wrote:
>> On Fri, 21 Apr 2006, [UTF-8] Rafael Esp?ndola wrote:
>>> 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
>> This is the right fix, thanks! I've applied it to the main llvmgcc tree.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev