[Geth] Windows10 Build
오늘은 Geth 빌드 !!
https://sourceforge.net/projects/mingw-w64/
MinGW-w64 - for 32 and 64 bit Windows
Download MinGW-w64 - for 32 and 64 bit Windows for free. A complete runtime environment for gcc. The mingw-w64 project is a complete runtime environment for gcc to support binaries native to Windows 64-bit and 32-bit operating systems.
sourceforge.net
gcc 32bit를 설치해야한다.
위 링크에서 다운받고 x86_64로 32bit 설치를 진행한다.
path 설정도 해야한다.
이런 식으로 설정한다.
https://github.com/ethereum/go-ethereum
GitHub - ethereum/go-ethereum: Official Go implementation of the Ethereum protocol
Official Go implementation of the Ethereum protocol - GitHub - ethereum/go-ethereum: Official Go implementation of the Ethereum protocol
github.com
github 소스를 다운받는다.
Makefile을 보면
이렇게 보이는데 그냥 명령어로 빌드한다.
1. go env GO111MODULE=on
2. go run build/ci.go install
geth는 빌드됬으니까..
warning 넘어가도 될지 해보면서 확인해봐야겠다.