Open dejavu1987 opened 1 year ago
Me too. I plan to back to Macbook of intel.
A Makefile seems to be outdated.
I used a dirty hack
and commented out this section in Makefile and then I managed to build tool without any errors 😄
ifeq ($(TARGET_OS),osx)
TARGET_CFLAGS = -mmacosx-version-min=10.7 -arch i386 -arch x86_64
TARGET_CXXFLAGS = -mmacosx-version-min=10.7 -arch i386 -arch x86_64 -stdlib=libc++
TARGET_LDFLAGS = -mmacosx-version-min=10.7 -arch i386 -arch x86_64 -stdlib=libc++
endif
clang --version
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: x86_64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
MacOS Ventura 13.5 (22G74) - intel based
ifeq ($(TARGET_OS),osx) TARGET_CFLAGS = -mmacosx-version-min=10.7 -arch x86_64 TARGET_CXXFLAGS = -mmacosx-version-min=10.7 -arch x86_64 -stdlib=libc++ TARGET_LDFLAGS = -mmacosx-version-min=10.7 -arch x86_64 -stdlib=libc++ endif
I remove the '-arch i386' is OK now.
I am trying to build on M1 mac book pro. I get the following error.
GCC version