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 » Community » Newbie corner » Cross Compiling?
Cross Compiling? [message #56025] Fri, 15 January 2021 20:40 Go to next message
ChaoticProgrammin
Messages: 1
Registered: January 2021
Location: gcc
Junior Member
How does one cross compile?
OS=Ubuntu
Re: Cross Compiling? [message #56065 is a reply to message #56025] Tue, 19 January 2021 17:45 Go to previous message
Novo is currently offline  Novo
Messages: 1371
Registered: December 2006
Ultimate Contributor
ChaoticProgrammin wrote on Fri, 15 January 2021 14:40
How 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
Previous Topic: skylark with server and client
Next Topic: WebImage example not working
Goto Forum:
  


Current Time: Thu Jul 18 16:54:59 CEST 2024

Total time taken to generate the page: 0.02296 seconds