Qestion about running LLVM

Hi,

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?

Thanks for your time, :slight_smile:
-Bryan

Make sure that the LLVM tools are in your path. If you built a debug tree
in the source directory, that would be llvm/tools/Debug

-Chris

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.

> 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?

Make sure that the LLVM tools are in your path. If you built a debug tree
in the source directory, that would be llvm/tools/Debug

Also make sure that you have executable permissions on the tools.

-Tanya