Cross compile binaries in #golang ( windows to linux and vice versa )

preview_player
Показать описание
In this video, we take a look at the go executable
and infer how it is different from binaries in other
languages.

Followed by a demonstration of cross-compilation
from windows to linux and vice versa.

0:00 go executables
01:00 java comparison
02:38 GOOS & GOARCH
03:44 compile for linux from windows
05:25 compile for windows from linux
09:32 reset env variables
10:30 supported systems

Tools of the trade :

#learn #golang #programming #withme
Рекомендации по теме
Комментарии
Автор

very well done in detail!,
Thank you very much!

josewilfridoacunameraz
Автор

I have 12 years experience of software development and this is some woodoo stuff maaan

alexandersemionov
Автор

Please make videos on Web development Series. It would be a great help for our community.

BTW this video is awesome man. What a wonderful content.

arjunshinde
Автор

4:48 should we convert them to .deb or .rpm?

beastnighttv
Автор

can you elaborate about rpc in your video like this.

m_vikas_singh
Автор

Can we decode executable binary file back to .go file? I mean can we see source code

TheGuruuu
Автор

how can we do the same for c or c++ programs?

dilipkn
Автор

Fuck go i switch to rust only because of binary size

apt_unit_