I extended the HOWTOBUILD in the blessed repository.

For me 

        cd build
        export CC='/usr/bin/gcc-4.2'    # as of 10.7 llvm is the incompatible 
default compiler
        export MACOSX_DEPLOYMENT_TARGET=10.5
        cmake .
        make

worked. And yeah, I wouldn't symlink it either :)

too bad that we can't use clang/llvm yet for the compilation. The error 
handling is so much better than in gcc :P

best
cami


On 2012-01-29, at 22:06, Esteban Lorenzano wrote:

> maybe, but he can restore default gcc after trying. I asked for removing a 
> symlink, not the llvm compiler it self.
> Right now I do not have a better/faster way to doit... and he needs to 
> compile his vm, so... 
> 
> 
> El 29/01/2012, a las 6:00p.m., Stefan Marr escribió:
> 
>> 
>> On 29 Jan 2012, at 21:09, Esteban Lorenzano wrote:
>> 
>>> he... connection problems... yeah, I know a lot about them :)
>>> 
>>> well... after a successful install, I *think* you should have gcc and 
>>> gcc-4.2... last one is also a symlink who points to: 
>>> 
>>> /usr/bin/i686-apple-darwin11-gcc-4.2.1
>> 
>> We have seen GCC 4.2 disappearing after Lion upgrades and Xcode 4.2 installs.
>> 
>> And Esteban, I do not think that changing the systems default compiler just 
>> for a single program can be the recommended practice.
>> 
>> "sudo rm /usr/bin/gcc" is certainly only the very last resort.
>> It should not be advertised if there are other ways to use a supported 
>> compiler.
>> Camillo mentioned that setting the CC environment variables correctly worked 
>> for him.
>> 
>> 
>> ... sudo - With great power comes great responsibility ...
>> 
>> Best regards
>> Stefan
>> 
>> -- 
>> Stefan Marr
>> Software Languages Lab
>> Vrije Universiteit Brussel
>> Pleinlaan 2 / B-1050 Brussels / Belgium
>> http://soft.vub.ac.be/~smarr
>> Phone: +32 2 629 2974
>> Fax:   +32 2 629 3525
>> 
>> 
> 
> 


Reply via email to