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   |
Tom1
Messages: 1305 Registered: March 2007
|
Ultimate Contributor |
|
|
Novo wrote on Thu, 13 March 2025 22:42Tom1 wrote on Thu, 13 March 2025 11:10Hi 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
|
|
|
 |
|
compile on one operating system for another
|
 |
|
Re: compile on one operating system for another
By: mirek on Sun, 16 February 2025 10:01
|
 |
|
Re: compile on one operating system for another
By: Novo on Thu, 13 March 2025 04:39
|
 |
|
Re: compile on one operating system for another
By: Tom1 on Thu, 13 March 2025 16:10
|
 |
|
Re: compile on one operating system for another
By: Novo on Thu, 13 March 2025 21:42
|
 |
|
Re: compile on one operating system for another
By: Novo on Thu, 13 March 2025 21:48
|
 |
|
Re: compile on one operating system for another
By: Novo on Wed, 02 April 2025 19:13
|
 |
|
Re: compile on one operating system for another
By: deep on Sat, 15 March 2025 13:39
|
 |
|
Re: compile on one operating system for another
By: Tom1 on Wed, 19 March 2025 20:34
|
 |
|
Re: compile on one operating system for another
By: Novo on Mon, 31 March 2025 18:00
|
 |
|
Re: compile on one operating system for another
By: Novo on Tue, 01 April 2025 20:07
|
 |
|
Re: compile on one operating system for another
|
Goto Forum:
Current Time: Tue Aug 12 06:20:42 CEST 2025
Total time taken to generate the page: 0.00681 seconds
|