Hi, thanks all for you help, it works.
Le 17 juil. 2015 à 05:33, Christopher Jones <[email protected]> a écrit : > Hi, > > /usr/bin/clang is the Apple system clang. You REALLY REALLY should not go > fiddling with this. If you have changed it, change it back… Much breakage > will occur if you do not. > > Macports installs everything under /opt/local > > You can make a specific MacPorts clang version the default MP one using for > example > > > sudo port select clang mp-clang-3.6 > > This will make /opt/local/bin/clang etc. point to the MP 3.6 clang version. > > Then, to make this the ‘default’ you get at the command line, simply make > sure /opt/local/bin is first in your PATH. > > Chris > >> On 17 Jul 2015, at 9:33am, firetiti <[email protected]> wrote: >> >> Hi, >> >> I just installed the Clang last version using « sudo port install clang-3.6 >> @3.6.1_1 », and it worked perfectly fine. >> But when I check the current version « clang —version », I still have the >> old clang version. >> I tried to modify /usr/bin/clang in order to make a symbolic link on « >> /opt/local/bin/clang-mp-3.6 », but then macport does not work anymore: >> FiReTiTi ~ $ sudo port upgrade outdated >> Error: Unable to open port: can't set "compiler.blacklist": couldn't >> determine build number of compiler "clang" >> To report a bug, follow the instructions in the guide: >> http://guide.macports.org/#project.tickets >> >> How can I do in order to have the last clang version as the current one? >> >> Thank you for your help, >> >> >> >> >> __________________________________ >> - 22 - It’s only when a mosquito lands on your testicules that you realize >> there is always a way to solve problems without using violence (Chinese >> proverb?). >> >> _______________________________________________ >> macports-users mailing list >> [email protected] >> https://lists.macosforge.org/mailman/listinfo/macports-users > __________________________________ Guillaume - 18 - Education is not the learning of facts, but the training of the mind to think (Albert Einstein).
_______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
