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
Out of box Linux cross-compiling does not work at all.
arch option is used only for iOS. android-arch option is used for Android. bits is useful only for MinGW, there's some half broken 64/32 x86 Linux cross-compiling code, but it uses hardcoded paths and won't work on half of Linux distros.
You can try to manually set up environment variables for cross compiling, something like (all paths and names may differ):
This may work for server, but probably won't work for tools/export template (some libs have broken platform detection logic, see #23575 PR).
Native ARM compiling (on real ARM device or inside qemu/chroot) should work without major problems (CXXFLAGS are still necessary for correct optimizations).
This should be fixed as of the proper architecture handling added in #55778. Or it might also need #64366, not sure. If you are still experiencing this issue, feel free to comment, but there has been no activity for years so I am assuming it's fixed.
Godot version:
c23710a
OS/device including version:
Linux Mint 19 - 64 Bit
Issue description:
When trying to cross-compile for Raspberry Pi with the command
the resulting binary shows x86-64 and 64 bit
Edit:
The text was updated successfully, but these errors were encountered: