[LLVMdev] Updating llvm-gcc 4.2 in Xcode 3.1.4

Alexandre Colucci
Wed, 04 Aug 2010 16:45:19 -0000

I finally managed to compile llvm-gcc 4.2 (from the 2.7 branch) on 10.5 in the
"Apple-way". After replacing the llvm-gcc binaries, I could build my
projects on 10.5 with a newer version of llvm-gcc using Xcode 3.1.4.
It seems that everything is working as expected now.

Thanks,
Alexandre

> Hello
>
>> Did someone manage to update llvm-gcc 4.2 contained in Xcode 3.1.4? Is
there a trick? Does anyone know how to enable the -arch option?
> You have to build llvm-gcc in so-called "Apple-way". Read
README.Apple
> for more information. Note, however, that it describes the
> non-LLVM-enabled build, so you should tune the cmdlines mentioned
> there accordingly.
>
> --
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University
>