{"id":405,"date":"2014-07-27T10:00:36","date_gmt":"2014-07-27T01:00:36","guid":{"rendered":"http:\/\/blog.ymyzk.com\/?p=405"},"modified":"2014-12-03T09:57:07","modified_gmt":"2014-12-03T00:57:07","slug":"os-x-yosemite-gcc","status":"publish","type":"post","link":"https:\/\/blog.ymyzk.com\/2014\/07\/os-x-yosemite-gcc\/","title":{"rendered":"OS X Yosemite Developer Preview 4 \/ 5 \u306b GCC 4.9.1 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b"},"content":{"rendered":"

\u73fe\u5728\u306f OS X Yosemite \u7528\u306e\u30d1\u30c3\u30c1\u3092\u5f53\u3066\u308b\u51e6\u7406\u304c, Homebrew \u306e gcc formula \u306b\u5165\u3063\u305f (https:\/\/github.com\/Homebrew\/homebrew\/pull\/32039<\/a>) \u306e\u3067, brew install gcc \u3068\u3059\u308b\u3060\u3051\u3067 GCC \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059. \u4ee5\u4e0b\u306f\u65e7\u60c5\u5831\u306b\u306a\u308a\u307e\u3059.<\/p>\n

OS X Yosemite \u3067\u306f GCC \u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u305f\u3081, Homebrew \u7b49\u3067 GCC \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u305b\u3093. \u5148\u65e5 OS X Yosemite Developer Preview 4 \/ 5 \u3067 GCC 4.9.1 \u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u305f\u3081\u306e\u30d1\u30c3\u30c1\u304c\u516c\u958b\u3055\u308c, \u3053\u308c\u3092\u9069\u7528\u3059\u308b\u3053\u3068\u3067 GCC \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f.<\/p>\n

<\/p>\n

\u30d1\u30c3\u30c1\u306b\u3064\u3044\u3066<\/h2>\n

\u3053\u306e\u30d1\u30c3\u30c1<\/a>\u306f GCC Bugzilla \u3067\u63d0\u6848\u3055\u308c\u3066\u304a\u308a, \u73fe\u6642\u70b9\u3067\u30de\u30fc\u30b8\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u3067\u306f\u306a\u3044\u306e\u3067, \u3053\u306e\u30d1\u30c3\u30c1\u3092\u5229\u7528\u3059\u308b\u304b\u306f\u81ea\u5206\u81ea\u8eab\u3067\u5224\u65ad\u3057\u3066\u304f\u3060\u3055\u3044.<\/p>\n

Homebrew<\/h2>\n

\u3053\u3053\u3067\u306f Homebrew \u3092\u4f7f\u3063\u3066, \u30d1\u30c3\u30c1\u3092\u9069\u7528\u3057\u3066 GCC 4.9.1 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3092\u307e\u3068\u3081\u307e\u3059.<\/p>\n

    \n
  1. brew update \u3092\u5b9f\u884c\u3057, \u6700\u65b0\u306e Formula \u3092\u53d6\u5f97\u3057\u3066\u304a\u304f<\/li>\n
  2. brew edit gcc \u3092\u5b9f\u884c\u3057,\u00a0Formula \u3092\u7de8\u96c6\u3059\u308b<\/li>\n
  3. \u4ee5\u4e0b\u306e\u30d1\u30c3\u30c1\u3092\u9069\u7528\u3059\u308b\u30b3\u30fc\u30c9\u3092\u9069\u5f53\u306a\u5834\u6240\u306b\u8ffd\u52a0\u3057\u307e\u3059. Leopard \u672a\u6e80\u306e\u5834\u5408\u30d1\u30c3\u30c1\u3092\u9069\u7528\u3059\u308b\u30b3\u30fc\u30c9\u304c 50 \u301c 58 \u884c\u76ee\u306b\u3042\u308b\u306e\u3067, \u3053\u306e\u524d\u5f8c\u3042\u305f\u308a\u304c\u826f\u3044\u3068\u601d\u3044\u307e\u3059.<\/li>\n
  4. \u7de8\u96c6\u3092\u7d42\u4e86\u3057\u3066, brew install gcc \u3092\u5b9f\u884c\u3057\u3066, GCC \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059.<\/li>\n<\/ol>\n
    \r\n  patch do\r\n    url "https:\/\/gcc.gnu.org\/bugzilla\/attachment.cgi?id=33180"\r\n    sha1 "def0cb036a255175db86f106e2bb9dd66d19b702"\r\n  end\r\n<\/pre>\n

    \u66f4\u65b0<\/h2>\n