[LLVMdev] llvm-gcc conigure error

tonyg362 tonyg3622 at yahoo.com
Fri Nov 5 14:22:30 PDT 2010


Thanks, that seemed to have worked.


Jim Grosbach wrote:
> 
> 
> On Nov 5, 2010, at 10:38 AM, tonyg362 wrote:
> 
>> 
>> I am trying to build llvm-gcc and I keep running into a configure error:
>> 
>> configure: error: You must specify valid path to your LLVM tree with
>> --enable-llvm=DIR
>> 
>> I have an llvm directory which contains the following directories:
>> 
>> llvm-2.8 llvm-install llvm-obj llvm-gcc llvm-gcc-obj llvm-gcc-install
>> 
>> I first configure, build, and install llvm by doing the following:
>> 
>> configure llvm inside llvm-obj with --prefix=/home/tony/llvm/llvm-install
>> --enable-llvm=/home/tony/llvm/llvm-2.8 among other options. Then make,
>> make
>> install. This works fine.
>> 
>> Then I cd to llvm-gcc-obj, configure with
>> --prefix=/home/tony/llvm/llvm-gcc-install
>> --enable-llvm=/home/tony/llvm/llvm-obj among other options. Then when I
>> do
>> make I get the configure error.
> 
> Try --enable-llvm=/home/tony/llvm/llvm-install
> 
> 
> 
>> 
>> I am using Ubuntu 10.04 x86_64, with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5). I
>> downloaded the llvm-2.8 and llvm-gcc4.2-2.8 tarballs from llvm.org. I
>> don't
>> see why I'm getting this configure error when I am following the README
>> and
>> specifying --enable-llvm when I configure.
>> -- 
>> View this message in context:
>> http://old.nabble.com/llvm-gcc-conigure-error-tp30143434p30143434.html
>> Sent from the LLVM - Dev mailing list archive at Nabble.com.
>> 
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 
> 

-- 
View this message in context: http://old.nabble.com/-SOLVED--llvm-gcc-conigure-error-tp30143434p30145101.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.




More information about the llvm-dev mailing list