Google Go

OSXにgccgoを入れてみる


This document explains how to use gccgo, a compiler for the Go language. The gccgo compiler is a new frontend for gcc, the widely used GNU compiler. Although the frontend itself is under a BSD-style license, gccgo is normally used as part of gcc and is then covered by the GNU General Public License.

Note that gccgo is not the 6g compiler; see the Installing Go instructions for that compiler.
ということらしい.amdな人は注意なのか??

gccのレポジトリに落ちてるソースファイル
svn://gcc.gnu.org/svn/gcc/branches/gccgo.

コマンド
svn checkout svn://gcc.gnu.org/svn/gcc/branches/gccgo gccgo
mkdir objdir
cd objdir
../gccgo/configure --enable-languages=c,c++,go
make
make install


OSXにGoogle Goを入れてみる


$ sudo easy_install mercurial
のところで
$ No eggs found in ********* (setup script problem?)
と怒られる
http://metapep.wordpress.com/2009/06/25/easy_install-problems-no-eggs-found-in-setup-script-problem/
を見ると,easy_installのアップデートかけろとのことなので
$ easy_install -U setuptools
を行う.すると後は問題なく完成.
最終更新:2009年11月13日 11:11