Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. wget https://dl.google.com/go/go1.4-bootstrap-20171003.tar.gz
  2. tar -xvf go1.4-bootstrap-20171003.tar.gz
  3. mv go go1.4
  4. ls
  5. rm go1.4-bootstrap-20171003.tar.gz
  6. ls
  7. cd go1.4/src/
  8. export CGO_ENABLED=0
  9. GOOS=darwin GOARCH=arm ./bootstrap.bash
  10. curl https://golang.org/src/bootstrap.bash > bootstrap.bash
  11. vim bootstrap.bash
  12. nano b
  13. nano bootstrap.bash
  14. rm bootstrap.bash
  15. nano bootstrap.bash
  16. chmod +x bootstrap.bash
  17. GOOS=darwin GOARCH=arm ./bootstrap.bash
  18. ls
  19. cd runtime/
  20. ls
  21. nano defs_darwin_386.h
  22. diff defs_darwin_amd64.h defs_darwin_386.h
  23. ls
  24. akg search cgo
  25. akg what cgo
  26. yay -Fs cgo
  27. akg install go gcc-go
  28. akg update
  29. cgo
  30. akg install go
  31. cgo
  32. yay -Fs cgo
  33. /usr/lib/go/pkg/tool/linux_amd64/cgo -
  34. /usr/lib/go/pkg/tool/linux_amd64/cgo -cdegs devfs_darwin.go
  35. /usr/lib/go/pkg/tool/linux_amd64/cgo -cdefs devfs_darwin.go
  36. cd ..
  37. tail
  38. GOOS=darwin GOARCH=arm ./bootstrap.bash | tail cus.build.log
  39. GOOS=darwin GOARCH=arm ./bootstrap.bash > cus.build.log
  40. ls
  41. cat cus.build.log
  42. rm -rf ../../go-darwin-arm-bootstrap/
  43. GOOS=darwin GOARCH=arm ./bootstrap.bash | tee -a cus.build.log
  44. cat cus.build.log
  45. unset CGO_ENABLED
  46. env
  47. GOOS=darwin GOARCH=arm ./bootstrap.bash | tee -a cus.build.log.1
  48. rm -rf ../../go-darwin-arm-bootstrap/
  49. GOOS=darwin GOARCH=arm ./bootstrap.bash | tee -a cus.build.log.1
  50. GOOS=linux GOARCH=arm ./bootstrap.bash | tee -a cus.build.log.1
  51. cd ../../go-linux-arm-bootstrap
  52. ls
  53. ls --color
  54. cd src/
  55. ls
  56. GOARCH./make.bash
  57. GOOS=linux GOARCH=arm ./make.bash
  58. ./all.bash
  59. ls
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement