3 ms·
What also intrigues me is how one would port to a new architecture. You've got no go1.4 there to boostrap you (new architecture), and you can't get the binary
by hobarrera 11y ago
What also intrigues me is how one would port to a new architecture.
You've got no go1.4 there to boostrap you (new architecture), and you can't get the binary because you're trying to build the first one.
- comex 11y agoEasy, you cross compile from Go on a different architecture. Go apparently has a good cross compilation story, though I don't have experience with it; honestly IMO the whole perception that cross compiling is an unusual or difficult thing comes from poorly designed Unix build systems. Though I suppose this would make a fully automated bootstrapping system a bit messier. (Do the first build in an emulator?)
- hobarrera 11y agoThanks for you answer. I hadn't though about cross compilation, and I guess that's the sanest approach, when possible.