[LLVMdev] cannot find gccas

John T. Criswell criswell at uiuc.edu
Fri May 19 07:33:41 PDT 2006

gejuan wrote:

>I have installed the llvm-gcc , and there is no error during the
>installtion.I also have compiled the llvm successfully.But when I use this
>$ llvm-gcc hello.c -o hello
>something wrong has happened,and this is the error information:
>llvm-gcc: installation problem, cannot exec `gccas': No such file or
The problem is that gccas (which you built when you compiled LLVM) is 
not in your $PATH.

Simply modify your PATH environment variable so that it includes the 
directory containing gccas.  This should be 
<LLVM_OBJ_ROOT>Debug/bin/gccas, where you replace LLVM_OBJ_ROOT with the 
location of where you built LLVM.

For more info, please see the Getting Started Guide: 
http://http://llvm.org/docs/GettingStarted.html and 

-- John T.

>what shall I do? My linux vertion is fedora 4.0
>and the gcc vertion is gcc4.0
>LLVM Developers mailing list
>LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu

More information about the llvm-dev mailing list