Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » compile on one operating system for another
Re: compile on one operating system for another [message #61544 is a reply to message #61543] Thu, 13 March 2025 21:42 Go to previous messageGo to previous message
Novo is currently offline  Novo
Messages: 1430
Registered: December 2006
Ultimate Contributor
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.


Regards,
Novo
 
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: Technology lab vs External resources
Goto Forum:
  


Current Time: Tue Aug 12 02:27:19 CEST 2025

Total time taken to generate the page: 0.08448 seconds