U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » U++ Developers corner » compile on one operating system for another
Re: compile on one operating system for another [message #61578 is a reply to message #61544] Wed, 19 March 2025 20:34 Go to previous messageGo to previous message
Tom1
Messages: 1319
Registered: March 2007
Ultimate Contributor
Novo wrote on Thu, 13 March 2025 22:42
Tom1 wrote on Thu, 13 March 2025 11:10
Hi Novo,

You mean from within TheIDE using clang? Would you like to share the details on how to do that, maybe even bm file(s)?

Best regards,

Tom

Hi Tom,

I use llvm-mingw.
I use llvm-mingw with umk to compile with a buildbot service in my homelab and with TheIDE to compile on desktop.
Below is a bm file from the buildbot service.
BUILDER = "CLANG";
COMPILER = "x86_64-w64-mingw32-clang++";
COMMON_OPTIONS = "";
COMMON_CPP_OPTIONS = "-Wall -Wno-logical-op-parentheses -std=c++17";
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/.local/soft/upp/2022.2/SDL2/lib/x64;/home/buildbot/.local/soft/upp/2022.2/pgsql/x64/bin;/home/buildbot/.local/soft/upp/2022.2/mysql/lib64;";
INCLUDE = "/home/buildbot/.local/soft/upp/2022.2/SDL2/include;/home/buildbot/.local/soft/upp/2022.2/pgsql/x64/include;/home/buildbot/.local/soft/upp/2022.2/mysql/include;/home/buildbot/.local/soft/upp/2022.2/openssl/include;";
LIB = "/home/buildbot/.local/soft/upp/2022.2/SDL2/lib/x64;/home/buildbot/.local/soft/upp/2022.2/pgsql/x64/lib;/home/buildbot/.local/soft/upp/2022.2/mysql/lib64;/home/buildbot/.local/soft/upp/2022.2/openssl/lib64;";
LINKMODE_LOCK = "0";

I wrote a tiny tool to generate bm files for all configurations I use.


Hi Novo,

Thanks for the info. It's unfortunate that Linux Mint does not have a package for llvm-mingw... so it takes a bit more effort to get it going.

Best regards,

Tom
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Rect::Union() question
Next Topic: Bézier Curve and animation Engine for U++ CoreLib
Goto Forum:
  


Current Time: Thu May 07 03:34:59 GMT+2 2026

Total time taken to generate the page: 0.01081 seconds