Hacker News new | ask | show | jobs
by edualm 1386 days ago
Works for me both under rosetta and native arm64 (macOS 12.2.1, M1 Max) - both by double-clicking the executable and using zsh.

Only thing I had to do was rename the file to open it in Finder first because of gatekeeper requirements.

  arch -x86_64 ./hello2 
  hello world
  
  ./hello2                      
  hello world