Home » Community » Newbie corner » Cross Compiling?
|
Re: Cross Compiling? [message #56065 is a reply to message #56025] |
Tue, 19 January 2021 17:45  |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
ChaoticProgrammin wrote on Fri, 15 January 2021 14:40How does one cross compile?
OS=Ubuntu
Below is my BM-file to cross-compile for Windows on Ubuntu.
BUILDER = "CLANG";
COMPILER = "x86_64-w64-mingw32-clang++";
COMMON_OPTIONS = "";
COMMON_CPP_OPTIONS = "-Wall -Wno-logical-op-parentheses -std=c++14";
COMMON_C_OPTIONS = "";
COMMON_LINK = "";
COMMON_FLAGS = "WIN32";
DEBUG_INFO = "2";
DEBUG_BLITZ = "1";
DEBUG_LINKMODE = "1";
DEBUG_OPTIONS = "-O0";
DEBUG_FLAGS = "";
DEBUG_LINK = "";
RELEASE_BLITZ = "1";
RELEASE_LINKMODE = "1";
RELEASE_OPTIONS = "-O3 -ffunction-sections -fdata-sections";
RELEASE_FLAGS = "";
RELEASE_LINK = "-Wl,--gc-sections";
DEBUGGER = "gdb";
ALLOW_PRECOMPILED_HEADERS = "0";
DISABLE_BLITZ = "0";
PATH = "/home/buildbot/.local/soft/llvm-mingw/git/bin;/home/buildbot/.local/soft/llvm-mingw/git/x86_64-w64-mingw32/bin;/home/buildbot/
INCLUDE = "/home/buildbot/.local/soft/upp/2020.2/SDL2/include;/home/buildbot/.local/soft/upp/2020.2/pgsql/x64/include;/home/buildbot/.
LIB = "/home/buildbot/.local/soft/upp/2020.2/SDL2/lib/x64;/home/buildbot/.local/soft/upp/2020.2/pgsql/x64/lib;/home/buildbot/.local/so
LINKMODE_LOCK = "0";
Regards,
Novo
|
|
|
Goto Forum:
Current Time: Fri Apr 25 14:31:42 CEST 2025
Total time taken to generate the page: 0.02788 seconds
|