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 -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667
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 at avgs.ca On 2011-10-08, at 3:14 AM, Rafiq Z wrote:> 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 > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
It works. Thanks to ��f��. 2011/10/8 ��f�� <chenwj at iis.sinica.edu.tw>:>> 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 > > -- > Wei-Ren Chen (��f��) > Computer Systems Lab, Institute of Information Science, > Academia Sinica, Taiwan (R.O.C.) > Tel:886-2-2788-3799 #1667 >