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
oa64e-clang++ of osxcross toolchain calls "/usr/bin/clang-16" with a lot of internal parameter, for example -target-cpu, visible when using the compiler flag -v .
How the internal parameter -target-cpu could be changed to apple-m2 from apple-m1 (visible in the text output of oa64e-clang++?
/home/matusz/ios_toolchain/osxcross_toolchain_MacOSX14/bin/oa64e-clang++ -std=c++17 -### -v test.cpp -o test
oa64e-clang++ of osxcross toolchain calls "/usr/bin/clang-16" with a lot of internal parameter, for example -target-cpu, visible when using the compiler flag -v .
How the internal parameter -target-cpu could be changed to apple-m2 from apple-m1 (visible in the text output of oa64e-clang++?
/home/matusz/ios_toolchain/osxcross_toolchain_MacOSX14/bin/oa64e-clang++ -std=c++17 -### -v test.cpp -o test
osxcross: debug: --> /home/matusz/ios_toolchain/osxcross_toolchain_MacOSX14/bin/oa64e-clang++ -std=c++17 -### -v test.cpp -o test
osxcross: debug: <-- /usr/bin/clang-16 (clang++) -target arm64e-apple-darwin23 -mlinker-version=711 -isysroot /home/matusz/ios_toolchain/osxcross_toolchain_MacOSX14/bin/../SDK/MacOSX14.sdk -stdlib=libc++ -nostdinc++ -Qunused-arguments -isystem /home/matusz/ios_toolchain/osxcross_toolchain_MacOSX14/bin/../SDK/MacOSX14.sdk/usr/include/c++/v1 -isystem /usr/bin/../lib64/clang/16/include -mmacosx-version-min=11.0.0 -arch arm64e -D__ENVIRONMENT_OS_VERSION_MIN_REQUIRED__=110000 -Wno-liblto -std=c++17 -### -v test.cpp -o test
osxcross: debug: === time spent in wrapper: 0.50069 ms
clang version 16.0.6 (Fedora 16.0.6-3.fc38)
Target: arm64e-apple-darwin23
Thread model: posix
InstalledDir: /usr/bin
"/usr/bin/clang-16" "-cc1" "-triple" "arm64e-apple-macosx11.0.0" "-Wundef-prefix=TARGET_OS_" "-Werror=undef-prefix" "-Wdeprecated-objc-isa-usage" "-Werror=deprecated-objc-isa-usage" "-emit-obj" "-mrelax-all" "-disable-free" "-clear-ast-before-backend" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "test.cpp" "-mrelocation-model" "pic" "-pic-level" "2" "-mframe-pointer=non-leaf" "-ffp-contract=on" "-fno-rounding-math" "-funwind-tables=1" "-target-sdk-version=14.2" "-fcompatibility-qualified-id-block-type-checking" "-fvisibility-inlines-hidden-static-local-var" "-target-cpu" "apple-m1" "-target-feature" "+v8.5a" "-target-feature" "+crc" "-target-feature" "+crypto" "-target-feature" "+dotprod" "-target-feature" "+fp-armv8" "-target-feature" "+fp16fml" "-target-feature" "+lse" "-target-feature" "+ras" "-target-feature" "+rcpc" "-target-feature" "+rdm" "-target-feature" "+neon" "-target-feature" "+zcm" "-target-feature" "+zcz" "-target-feature" "+fullfp16" "-target-feature" "+sm4" "-target-feature" "+sha3" "-target-feature" "+sha2" "-target-feature" "+aes" "-target-abi" "darwinpcs" "-mllvm" "-treat-scalable-fixed-error-as-warning" "-debugger-tuning=lldb" "-target-linker-version" "711" "-v" "-fcoverage-compilation-dir=/home/matusz/ios_toolchain/llvm_test" "-nostdinc++" "-resource-dir" "/usr/lib64/clang/16" "-isysroot" "/home/matusz/ios_toolchain/osxcross_toolchain_MacOSX14/bin/../SDK/MacOSX14.sdk" "-isystem" "/home/matusz/ios_toolchain/osxcross_toolchain_MacOSX14/bin/../SDK/MacOSX14.sdk/usr/include/c++/v1" "-isystem" "/usr/bin/../lib64/clang/16/include" "-D" "ENVIRONMENT_OS_VERSION_MIN_REQUIRED=110000" "-stdlib=libc++" "-internal-isystem" "/home/matusz/ios_toolchain/osxcross_toolchain_MacOSX14/bin/../SDK/MacOSX14.sdk/usr/local/include" "-internal-isystem" "/usr/lib64/clang/16/include" "-internal-externc-isystem" "/home/matusz/ios_toolchain/osxcross_toolchain_MacOSX14/bin/../SDK/MacOSX14.sdk/usr/include" "-Wno-liblto" "-std=c++17" "-fdeprecated-macro" "-fdebug-compilation-dir=/home/matusz/ios_toolchain/llvm_test" "-ferror-limit" "19" "-stack-protector" "1" "-fblocks" "-fencode-extended-block-signature" "-fregister-global-dtors-with-atexit" "-fgnuc-version=4.2.1" "-fcxx-exceptions" "-fexceptions" "-fmax-type-align=16" "-fcolor-diagnostics" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/tmp/test-45d223.o" "-x" "c++" "test.cpp"
"/home/matusz/ios_toolchain/osxcross_toolchain_MacOSX14/bin/arm64e-apple-darwin23-ld" "-demangle" "-lto_library" "/usr/lib/libLTO.dylib" "-no_deduplicate" "-dynamic" "-arch" "arm64e" "-platform_version" "macos" "11.0.0" "14.2" "-syslibroot" "/home/matusz/ios_toolchain/osxcross_toolchain_MacOSX14/bin/../SDK/MacOSX14.sdk" "-o" "test" "/tmp/test-45d223.o" "-lc++" "-lSystem"
The text was updated successfully, but these errors were encountered: