ethereum-go win7 64位编译


1.安装go语言 输入go version 输出go version go1.9.2表示成功

2. github:https://github.com/ethereum/go-ethereum

    dowmload zip到本地

目录结构

ethereum-go win7 64位编译_第1张图片

GOPATH/src
├── github.com
│   └── ethereum
│       └── go-ethereum
└── golang.org
    └── x
        └── net


3.下载 http://www.mingw.org/  安装好后在cmd输入gcc -v  提示gcc version x.x.x表示安装成功

4.cmd   输入go install -v github.com/ethereum/go-ethereum/cmd/geth

go install -v github.com/ethereum/go-ethereum/cmd/evm

就可以在go/bin文件中找到生成的文件

ethereum-go win7 64位编译_第2张图片


运行geth.exe

ethereum-go win7 64位编译_第3张图片


成功了。

 



你可能感兴趣的:(区块链学习)