[LLVMdev] build error
Reid Spencer
rspencer at reidspencer.com
Mon Aug 7 22:23:38 PDT 2006
Okay, that's the problem then.
When you configure llvm you need to give it the
--with-llvmgccdir=/path/to/llvmgcc. I suggest you carefully read the
getting started instructions, found here:
http://llvm.org/docs/GettingStarted.html
This will allow the runtime library to build properly. If you don't need
the runtime library (i.e. you don't care about running C/C++ programs
compiled with LLVM) then you can safely build LLVM with:
make tools-only
and it will skip the runtime directory.
Reid.
On Tue, 2006-08-08 at 14:01 +1000, Simon Burton wrote:
> On Mon, 07 Aug 2006 19:36:01 -0700
> Reid Spencer <rspencer at reidspencer.com> wrote:
>
> >
> > Hi Simon,
> >
> > What version of llvm-gcc did you configure LLVM with? If you don't
> > know, please send your configure.out file from your LLVM_OBJ_ROOT
>
> I didn't find that file in the source anywhere.
> Also, I don't normally use llvm-gcc, so I didn't knowingly configure for any
> version of llvm-gcc. But it turns out I have installed it already, from a binary:
>
> $ llvm-gcc --version
> llvm-gcc (GCC) 3.4-llvm 20051104 (LLVM 1.7cvs)
>
> It looks like I have enough of the llvm tools/libs installed to get my work done.
>
> thanks,
>
> Simon.
>
More information about the llvm-dev
mailing list