conflict of gcc and llvm-gcc

Hello everyone,

I build llvm-2.9 from source code. After install, i find the
executable file is 'gcc', NOT 'llvm-gcc'.
It is not convenient because there has been another gcc in system. To
avoid conflict i rename
gcc to llvm-gcc now.

Can i avoid the problem by options when build?

Thanks

I build llvm-2.9 from source code. After install, i find the
executable file is 'gcc', NOT 'llvm-gcc'.
It is not convenient because there has been another gcc in system. To
avoid conflict i rename
gcc to llvm-gcc now.

  Does "--program-prefix=llvm-" help?

Regards,
chenwj

You can configure with --program-prefix=llvm-, it'll make the binary be llvm-gcc instead of only gcc.

Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mrene@avgs.ca

It works.

Thanks to êífÈÎ.