Skip to content

Files

Latest commit

 

History

History
 
 

src

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Prepare a base golang compiler

Download a c_code 'go1.4-bootstrap-20171003.tar.gz' file, extract it, I assume it is $HOME/CS/go2

In ~/.bashrc:

export GOROOT_BOOTSTRAP="$HOME/CS/go2"

Clone the source code

Clone this repository, extract it, I assume it is $HOME/CS/go

In ~/.bashrc:

export PATH="$PATH:$HOME/CS/go/bin"

Then, compile it by:

cd ~/CS/go/src
./all.bash

Check the version

source ~/.bashrc
go version

Great, now you have your own golang compiler.