tstack / lnav

Log file navigator
http://lnav.org
BSD 2-Clause "Simplified" License
7.7k stars 305 forks source link

Apple silicone support (arm64) #1292

Open yairfine opened 1 month ago

yairfine commented 1 month ago

Please add support for Apple Silicon based machines. I.e the statically linked download link is a Mach-O 64-bit executable x86_64. Would like to use it on a new Mac with Arm64 CPUs family. I.e create a double arch binary Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64e:Mach-O 64-bit executable arm64e]

dmitry-gils commented 1 month ago

Homebrew provides arm64 executable:

> file /opt/homebrew/bin/lnav
/opt/homebrew/bin/lnav: Mach-O 64-bit executable arm64
yairfine commented 1 month ago

@dmitry-gils I mean, a statically linked version. The one provided by Homebrew is dynamically linked