Recent

Author Topic: Cross comiling on Linux  (Read 701 times)

backprop

  • Full Member
  • ***
  • Posts: 236
Cross comiling on Linux
« on: February 24, 2026, 08:45:25 pm »
https://wiki.freepascal.org/Cross_compiling

I can't access to this due some AI nonsense and blockage, as I mentioned recently...

In short, I want to do some cross compiling on 64-bit Linux for multiple platforms, including 32-bit linux,  32 and 64-bit windows and also Mac... How as well to do some compiling for some more exotic platforms, as ZX Spectrum?

Without access to these guides it is just shoot in the dark...

Seenkao

  • Hero Member
  • *****
  • Posts: 759
    • New ZenGL.
Re: Cross comiling on Linux
« Reply #1 on: February 24, 2026, 09:25:53 pm »
Поищите информацию по форуму, возможно здесь больше информации, чем на вики.
Ищите по тэгам: Z80, Spectrum.
одна из связанных тем.


Google translate:
Search the forum; it might have more information than the wiki.
Search by tags: Z80, Spectrum.
one of the related threads.
Rus: Стремлюсь к созданию минимальных и достаточно быстрых приложений.

Eng: I strive to create applications that are minimal and reasonably fast.
Working on ZenGL

dbannon

  • Hero Member
  • *****
  • Posts: 3825
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Cross comiling on Linux
« Reply #2 on: February 25, 2026, 01:31:34 am »
Just to manage your expectations a little. I have a (64bit x86_64) VM setup that routinely cross compiles to 32bit linux, 32bit and 64bit Windows, 32bit and 64bit Linux ARM (ie raspberry pi) but NOT Mac, too difficult to replicate the necessary Mac infrastructure.

On the other hand, cross compiling from Intel Mac to Arm Mac is easy. So, I purchased an old Mac Mini for that purpose. Its slow but works with non-mac screen and keyboard. 

Davo
Lazarus 4, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

Handoko

  • Hero Member
  • *****
  • Posts: 5545
  • My goal: build my own game engine using Lazarus
Re: Cross comiling on Linux
« Reply #3 on: February 25, 2026, 03:09:35 am »
This is how I prepare cross compiler for Linux 64-bit to Windows i386:
https://forum.lazarus.freepascal.org/index.php/topic,45739.msg323803.html#msg323803

Thausand

  • Hero Member
  • *****
  • Posts: 560
Re: Cross comiling on Linux
« Reply #4 on: February 25, 2026, 06:20:38 am »
A docile goblin always follow HERMES.md

 

TinyPortal © 2005-2018