Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22145

Update gcc version failed in mac

$
0
0

I want to update my gcc version from 4.2.1 to 4.9. I use brew install gcc49 and installed successfully. I also linked it but it still didn't work. How to link it? Would you help take a look?

build $ brew install gcc49Updating Homebrew...==> Downloading https://homebrew.bintray.com/bottles/gcc@4.9-4.9.4_1.high_sierra.bottle.tar.gz==> Downloading from https://akamai.bintray.com/0c/0c4f2650325b060bf72beafd78dabab80973ee4ab330d4de16eb648b88225096?__gda__=exp=1586231711~hmac=cc65e4aa8c2a7ff107e276f546######################################################################## 100.0%==> Pouring gcc@4.9-4.9.4_1.high_sierra.bottle.tar.gz🍺  /usr/local/Cellar/gcc@4.9/4.9.4_1: 1,182 files, 215.3MBbuild$ ln -s gcc-4.9 gccbuild$ which gcc/usr/bin/gccbuild$ gcc -dumpversion4.2.1

Viewing all articles
Browse latest Browse all 22145

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>