|
|
|
|
|
by liveoneggs
211 days ago
|
|
You also need a version of the go compiler, possibly one new enough to handle some //go:magic:comments. I agree that static linking is great and that python sucks but I was trying to say I can, very easily, mkdir new-py-program/app.py and stick __main__ in it or mkdir new-perl-program/app.pl or mkdir my-new-c-file/main.c etc. For 2/3 of the above I can even make easy/single executable files go-style. |
|
I don't understand your comment on magic comments. You don't need them to cross-compile a program. I was already doing that routinely 10 years ago. All I needed is a `GOOS=LINUX GOARCH=386 go build myprog && scp myprog myserver:`