clang on ubuntu 11.04 / unconsidered path

Hi,

I am new to llvm/clang and just started my tryout with it.

I compiled clang on a ubuntu 11.04-32bit. After that I got the
message that clang cannot create executeable objects.

During a discussion ToolChain.cpp and the path for crtbegin.o were
pointed out.

The path for crtbegin.o is under the acutal ubuntu:

  /usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/crtbegin.o

Looking into ToolChain.cpp is seems that this path is not be considered
till now. So I created a symlink in /usr/lib

  gcc -> i386-linux-gnu/gcc/

what solved my problem. But as this is a quick'n'dirty solution maybe
someone with already some experience in llvm/clang like to adjust the
ToolChain.cpp.

Thanks
N.