#
Install apple-gcc42 by homebrew,
#
#
1 2 |
|
if it is too slow, you can download it manually.
- looking for Formula by http://braumeister.org/, or
find the url in ‘https://github.com/Homebrew/homebrew-dupes/blob/master/apple-gcc42.rb’, it is ‘http://r.research.att.com/tools/gcc-42-5666.3-darwin11.pkg’, version is ‘4.2.1-5666.3’, maybe not the lastest as time pass by.
- puts this in /usr/local/Library/Caches/Homebrew/, run again.
ps: Sometimes it will appear errors like: ‘make: /usr/bin/gcc-4.2: No such file or directory’. The resolution is link apple-gcc42 to gcc-4.2
1
|
|
pps: if you run ‘brew install appe-gcc42’, it says counldn’t found any Formula named apple-gcc42
first, try brew tap homebrew/dupes, then run again.
seaond, download the ‘https://github.com/Homebrew/homebrew-dupes/blob/master/apple-gcc42.rb’, put it into /usr/local/Library/Formula/, then try again