Тёмный

Building universal binaries for mac books using Golang and lipo tool 

Learn Golang, Rust and more
Подписаться 98
Просмотров 46
50% 1

How to build golang application for different architectures of mac book?
How to create universal binary that runs on amd64 and arm64(M Series) chips?
Here are the commands
code used: github.com/Jit...
Build for amd64 chipset
GOARCH=amd64 GOOS=darwin go build -o build/app_amd64 main.go
Build for arm64 chipset
GOARCH=armn64 GOOS=darwin go build -o build/app_arn64 main.go
Create universal binary :
lipo -create -output build/app_universal build/app_arm64 build/app_amd64
#programming #golangtutorial #macbook #devops #softwareengineer #rustland #rust #golanguage #java #python #cpp #compilation #clang #programmers #golang #rust #softwaredeveloper #

Опубликовано:

 

9 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 3   
@TechDoctorMalayalam
@TechDoctorMalayalam 25 дней назад
Insightful video on golang internals
@JitenPalaparthi
@JitenPalaparthi 25 дней назад
Thank you brother
@JitenPalaparthi
@JitenPalaparthi 25 дней назад
1:45 there is a mistake folks. It is not ollama3 it is ollama binary .Apoligies for this. All my content is in a flow not edited or scripted .
Далее
C++ vs Rust: which is faster?
21:15
Просмотров 397 тыс.
All Rust features explained
21:30
Просмотров 313 тыс.
How to Cook Juicy Steaks? Chef Kanan Recipe 🔥
00:59
No money for Pre workout ?? 😱😱
00:37
Просмотров 2,9 млн
Let's Create a Compiler (Pt.1)
1:11:03
Просмотров 528 тыс.
Nix explained from the ground up
23:39
Просмотров 39 тыс.
Become a bash scripting pro - full course
36:00
Просмотров 60 тыс.
ChatGPT-o1 Created A Programming Language...
19:45
Просмотров 91 тыс.
18 Weird and Wonderful ways I use Docker
26:18
Просмотров 269 тыс.
The Value of Source Code
17:46
Просмотров 117 тыс.
How to Cook Juicy Steaks? Chef Kanan Recipe 🔥
00:59