4 ms·
Another good example is the Go compiler. Assuming you have any version of Go in your PATH, it's: git clone https://github.com/golang/go cd go/src .
by giovannibajo1 7y ago
Another good example is the Go compiler. Assuming you have any version of Go in your PATH, it's:
git clone https://github.com/golang/go
cd go/src
./make.bash # or make.bat for Windows
And that's it. You can then use "bin/go" to compile your projects.
- MayeulC 7y agoIt's a whole lot more complex to run a build script like this than a simple call to a C compiler, and has many more dependencies: you even need bash installed, and it looks like the script would fail if the kernel isn't compiled with selinux support... The script itself isn't that compilcated, but complicated enough that I didn't want to spend too much time reading it. Moreover, you cannot compare cloning a git repository with downloading a single c source file... This seems equivalent in complexity to the good old "git clone; ./configure; make"
- aliceryhl 7y agoYou just reminded me of GOPATH :(