|
Is there a way to cross compile using Allegro for Windows on Linux? |
iheartcoffee
Member #16,518
August 2016
|
I was wondering if there was a way to cross compile an allegro program for Windows using MinGW on Linux to run on a Windows PC?
|
Peter Hull
Member #1,136
March 2001
|
In principle yes
|
Elias
Member #358
May 2000
|
You an look how Allegro itself is cross-compiled: https://github.com/liballeg/allegro5/blob/master/cmake/Toolchain-mingw.cmake Basically tell cmake which compiler to use instead of the native one, and it will compile for Windows instead of Linux. Getting all the dependency libraries is still very involved unfortunately, as is getting the resulting .exe to actually work in a native Windows (needs to find all the right DLLs and stuff). -- |
ZoriaRPG
Member #16,714
July 2017
|
https://arrayfire.com/cross-compile-to-windows-from-linux/ Possible, aye, but your results may vary.
|
|