Cross Compiling

Windows specific questions.
Post Reply
taijinantangXX
Posts: 13
Joined: Dec 19, 2014 5:29

Cross Compiling

Post by taijinantangXX »

How to cross compile using FreeBASIC?
1, how to compile from Windows to Linux or vise versa?
2, how to compile from Windows 64bit to Windows 32bit or vise versa?
THX
dkl
Site Admin
Posts: 3235
Joined: Jul 28, 2005 14:45
Location: Germany

Re: Cross Compiling

Post by dkl »

Currently we only have the documentation here: DevCrossCompiling

which has a fairly in-depth example about cross-compiling from Ubuntu to Win32 (that's probably the easiest). I'm going to try and add more guides in the future though...

Regarding cross-compiling between Win32/Win64, check this out:
http://www.freebasic.net/forum/viewtopi ... 81#p200681

Cross-compiling from Windows to Linux is difficult though, unless you can find a pre-made gcc cross-compiler, and it's much easier to use dual-boot (or VirtualBox) and compile on Linux directly.
http://www.freebasic.net/forum/viewtopi ... 20#p194820
Post Reply