You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
edit: Fixed. had to update Command Line Tools for Xcode to 26.1
I'm trying to compile a project on a arm mac using gcc-14 and am kinda lost where to go from here. Any help would be appreciated
terminal output
[...]
subprojects/NitroSDK-4.2.30001/tools/makelcf/meson.build:19:14: ERROR: No build machine compiler for 'subprojects/NitroSDK-4.2.30001/tools/makelcf/container.c'
A full log can be found at /Users/pascal/Documents/Decomps/pokeplatinum/build/meson-logs/meson-log.txt
make: *** [build/build.ninja] Error 1
native_macos.ini
[binaries]
c = 'gcc-14'
cpp = 'g++-14'
ar = 'ar'
meson-log.txt
[...]
Detecting compiler via: `gcc-14 --version` -> 0
stdout:
gcc-14 (Homebrew GCC 14.3.0) 14.3.0
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-----------
Running command: -cpp -x c -E -dM -
-----
-----------
Detecting linker via: `gcc-14 -Wl,--version` -> 1
stderr:
collect2 version 14.3.0
/usr/bin/ld -demangle -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX26.sdk/ -dynamic -arch arm64 -macos_version_min 16.0.0 -o a.out -L/opt/homebrew/Cellar/gcc@14/14.3.0/bin/../lib/gcc/14/gcc/aarch64-apple-darwin25/14 -L/opt/homebrew/Cellar/gcc@14/14.3.0/bin/../lib/gcc/14/gcc -L/opt/homebrew/Cellar/gcc@14/14.3.0/bin/../lib/gcc/14/gcc/aarch64-apple-darwin25/14/../../.. -lemutls_w -lheapt_w --version -lgcc -lSystem -no_compact_unwind -rpath @loader_path -rpath /opt/homebrew/Cellar/gcc@14/14.3.0/lib/gcc/14/gcc/aarch64-apple-darwin25/14 -rpath /opt/homebrew/Cellar/gcc@14/14.3.0/lib/gcc/14/gcc -rpath /opt/homebrew/Cellar/gcc@14/14.3.0/lib/gcc/14
ld: unknown options: --version
collect2: error: ld returned 1 exit status
-----------
-----------
Detecting Apple linker via: `gcc-14 -Wl,-v` -> 0
stderr:
collect2 version 14.3.0
/usr/bin/ld -demangle -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX26.sdk/ -dynamic -arch arm64 -macos_version_min 16.0.0 -o a.out -L/opt/homebrew/Cellar/gcc@14/14.3.0/bin/../lib/gcc/14/gcc/aarch64-apple-darwin25/14 -L/opt/homebrew/Cellar/gcc@14/14.3.0/bin/../lib/gcc/14/gcc -L/opt/homebrew/Cellar/gcc@14/14.3.0/bin/../lib/gcc/14/gcc/aarch64-apple-darwin25/14/../../.. -lemutls_w -lheapt_w -v -lgcc -lSystem -no_compact_unwind -rpath @loader_path -rpath /opt/homebrew/Cellar/gcc@14/14.3.0/lib/gcc/14/gcc/aarch64-apple-darwin25/14 -rpath /opt/homebrew/Cellar/gcc@14/14.3.0/lib/gcc/14/gcc -rpath /opt/homebrew/Cellar/gcc@14/14.3.0/lib/gcc/14
@(#)PROGRAM:ld PROJECT:ld-1167.4.1
BUILD 20:00:10 Mar 12 2025
configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
will use ld-classic for: armv6 armv7 armv7s i386 armv6m armv7k armv7m armv7em
LTO support using: LLVM version 17.0.0 (static support for 29, runtime is 29)
TAPI support using: Apple TAPI version 17.0.0 (tapi-1700.0.3.4)
-----------
Sanity testing C compiler: gcc-14
Is cross compiler: False.
Sanity check compiler command line: gcc-14 sanitycheckc.c -o sanitycheckc.exe
Sanity check compile stdout:
-----
Sanity check compile stderr:
ld: library 'System' not found
collect2: error: ld returned 1 exit status
-----
Compiler for language c for the build machine not found.
[...]
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
edit: Fixed. had to update Command Line Tools for Xcode to 26.1
I'm trying to compile a project on a arm mac using gcc-14 and am kinda lost where to go from here. Any help would be appreciated
terminal output
native_macos.ini
meson-log.txt
Beta Was this translation helpful? Give feedback.
All reactions