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
Cross Compiling
-
- Posts: 13
- Joined: Dec 19, 2014 5:29
Re: Cross Compiling
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
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