building clang-3.4 on 10.6.8

Ryan Schmidt ryandesign at macports.org
Sun Jan 12 10:50:06 PST 2014


On Jan 12, 2014, at 11:24, René J.V. Bertin wrote:

> On Sunday January 12 2014 10:31:32 you wrote:
> 
>> If a port cannot be built with a particular compiler, that port should blacklist that compiler.
>> 
>> clang-3.3 is successfully installed on my 10.6 machine using gcc 4.2. I haven’t tried clang-3.4 there yet. If it does not build with gcc-4.2, file a ticket, if one does not already exist for that.
> 
> Is there a command to (re)build a port without installing/touching the version that is currently installed?

Yes, you could:

sudo port clean clang-3.4
sudo port -s destroot clang-3.4

If this fails, you’ll have a main.log file you can attach to a ticket. If it succeeds and you want to replace your existing gcc-4.8-compiled clang-3.4 with this one, you can then:

sudo port -f uninstall clang-3.4
sudo port -s install clang-3.4



More information about the macports-users mailing list