[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Compiling for Apple M2
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 1 Jul 2023 09:55:02 -0400
> I therefore conclude: the issue is that 64bit compiling.
I've found an M2 Mac and built and run both Lua 5.3.6 and 5.4.6
without any problems and no warnings from ranlib:
% uname -a
Darwin * 21.6.0 Darwin Kernel Version 21.6.0: Thu Mar 9 20:10:19 PST
2023; root:xnu-8020.240.18.700.8~1/RELEASE_ARM64_T8101 arm64
% sw_vers
ProductName: macOS
ProductVersion: 12.6.5
BuildVersion: 21G531
% make test
src/lua -v
Lua 5.3.6 Copyright (C) 1994-2020 Lua.org, PUC-Rio
% clang --version
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: arm64-apple-darwin21.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin