Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wget https://dl.google.com/go/go1.4-bootstrap-20171003.tar.gz
- tar -xvf go1.4-bootstrap-20171003.tar.gz
- mv go go1.4
- ls
- rm go1.4-bootstrap-20171003.tar.gz
- ls
- cd go1.4/src/
- export CGO_ENABLED=0
- GOOS=darwin GOARCH=arm ./bootstrap.bash
- curl https://golang.org/src/bootstrap.bash > bootstrap.bash
- vim bootstrap.bash
- nano b
- nano bootstrap.bash
- rm bootstrap.bash
- nano bootstrap.bash
- chmod +x bootstrap.bash
- GOOS=darwin GOARCH=arm ./bootstrap.bash
- ls
- cd runtime/
- ls
- nano defs_darwin_386.h
- diff defs_darwin_amd64.h defs_darwin_386.h
- ls
- akg search cgo
- akg what cgo
- yay -Fs cgo
- akg install go gcc-go
- akg update
- cgo
- akg install go
- cgo
- yay -Fs cgo
- /usr/lib/go/pkg/tool/linux_amd64/cgo -
- /usr/lib/go/pkg/tool/linux_amd64/cgo -cdegs devfs_darwin.go
- /usr/lib/go/pkg/tool/linux_amd64/cgo -cdefs devfs_darwin.go
- cd ..
- tail
- GOOS=darwin GOARCH=arm ./bootstrap.bash | tail cus.build.log
- GOOS=darwin GOARCH=arm ./bootstrap.bash > cus.build.log
- ls
- cat cus.build.log
- rm -rf ../../go-darwin-arm-bootstrap/
- GOOS=darwin GOARCH=arm ./bootstrap.bash | tee -a cus.build.log
- cat cus.build.log
- unset CGO_ENABLED
- env
- GOOS=darwin GOARCH=arm ./bootstrap.bash | tee -a cus.build.log.1
- rm -rf ../../go-darwin-arm-bootstrap/
- GOOS=darwin GOARCH=arm ./bootstrap.bash | tee -a cus.build.log.1
- GOOS=linux GOARCH=arm ./bootstrap.bash | tee -a cus.build.log.1
- cd ../../go-linux-arm-bootstrap
- ls
- ls --color
- cd src/
- ls
- GOARCH./make.bash
- GOOS=linux GOARCH=arm ./make.bash
- ./all.bash
- ls
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement