Replies: 2 comments
-
|
You can use custom toolchain or cross compilation. https://xmake.io/guide/basic-commands/cross-compilation.html |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Here is a simple demo. Maybe others will need it --[[
xmake f -m debug -p cross --sdk="{SCE_SDK_DIR}\host_tools" --cxx=clang@"{SCE_SDK_DIR}\host_tools\bin\prospero-clang.exe" --ld=clang@"{SCE_SDK_DIR}\host_tools\bin\prospero-lld.exe"
--]]
add_rules("mode.debug")
target("Xmake_PS5")
set_kind("binary")
add_files("main.cpp")
set_basename("Xmake_PS5.elf")
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
how to compile new plat, such as PS5?
in cmake, i can pass ps5.cmake to setup compile toolchains
how xmake deal the situation
Beta Was this translation helpful? Give feedback.
All reactions