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
Despite having aarch64-linux-gnu-gcc available, executing xmake f -c -vD -m release -a arm64-v8a still compiles for x86_64. Updating to the dev branch and running xmake f -c -vD -m release -a arm64 yields the same result.
Expected Behavior
The build should target aarch64 as specified.
Project Configuration
xmake f -c -vD -m release -a arm64-v8a
xmake -r -vD hello_c
Additional Information and Error Logs
xmake f -c -vD -m release -a arm64-v8achecking for platform ... linuxchecking for gcc ... /usr/bin/gcccheckinfo: cannot runv(nim --version), No such file or directorychecking for nim ... nocheckinfo: cannot runv(nim --version), No such file or directorychecking for nim ... noconfigure{ network = public mode = release plat = linux host = linux clean = true ccache = true theme = default arch = arm64-v8a ndk_stdcxx = true kind = static mingw = /usr/x86_64-w64-mingw32 diagnosis = true buildir = build}
$ xmake -r -vD hello_cchecking for gcc ... /usr/bin/gccchecking for the c compiler (cc) ... gccchecking for /usr/bin/gcc ... okchecking for flags (-fPIC) ... ok
> gcc "-fPIC"checking for flags (-O3) ... ok
> gcc "-O3"checking for flags (-DNDEBUG) ... ok
> gcc "-DNDEBUG"[ 50%]: cache compiling.release src/hello.c/usr/bin/gcc -c -fvisibility=hidden -Wall -Wextra -Wpedantic -O3 -DNDEBUG -o build/.objs/hello_c/linux/arm64-v8a/release/src/hello.c.o src/hello.cchecking for flags (-MMD -MF) ... ok
> gcc "-MMD""-MF""/dev/null"checking for flags (-fdiagnostics-color=always) ... ok
> gcc "-fdiagnostics-color=always"checking for flags (-Wno-gnu-line-marker -Werror) ... ok
> gcc "-Wno-gnu-line-marker""-Werror"checking for g++ ... /usr/bin/g++checking for the linker (ld) ... g++checking for /usr/bin/g++ ... okchecking for flags (-fPIC) ... ok
> g++ "-fPIC"[ 75%]: linking.release hello_c/usr/bin/g++ -o build/linux/arm64-v8a/release/hello_c build/.objs/hello_c/linux/arm64-v8a/release/src/hello.c.o -s
The text was updated successfully, but these errors were encountered:
Xmake Version
v2.9.8+20250204
Operating System Version and Architecture
Arch Linux
Describe Bug
Despite having
aarch64-linux-gnu-gcc
available, executingxmake f -c -vD -m release -a arm64-v8a
still compiles forx86_64
. Updating to thedev
branch and runningxmake f -c -vD -m release -a arm64
yields the same result.Expected Behavior
The build should target
aarch64
as specified.Project Configuration
Additional Information and Error Logs
The text was updated successfully, but these errors were encountered: