[LLVMdev] Qestion about running LLVM

Misha Brukman brukman at uiuc.edu
Tue Jun 22 13:59:02 PDT 2004


On Tue, Jun 22, 2004 at 12:44:36PM -0600, Hsien-Chieh Cheng wrote:
> I'm a newbie and just installed LLVM on a Linux box. I followe
> "The LLVM Getting Started Guide" on the web and have some trouble
> on the section "An Example Using the LLVM Tool Chain". When I compile
> the simple hello.c program with "llvmgcc hello.c -o hello", the system
> complains -- gcc: installation problem, cannot exec `gccas': Permission
> denied.  Does anybody know what's going on?

In order to use llvm-gcc, you must build the LLVM tools and put them in
your path, particularly gccas and gccld.

The document you are reading has a section on building the LLVM source
code.  I have added a note about this to the quick example you are
reading so that others will also know to follow suit.

-- 
Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu




More information about the llvm-dev mailing list