cross compiling in linux
cross compiling in linux
I am trying to cross-compile (for Windows) the 29.1 client in Fedora Linux. I have read the README.cmake file, and have installed mingw32, but I am not sure where to go from there. For example, the README refers to the installation path of mingw32, but I installed mingw32 via yum, so as far as I can tell, I have some executables in /usr/bin, but... I am lost.
Does anyone here have any experience with this sort of thing? Any help would be greatly appreciated.
Does anyone here have any experience with this sort of thing? Any help would be greatly appreciated.
Re: cross compiling in linux
I may be misunderstanding:perv wrote:I am trying to cross-compile (for Windows) the 29.1 client in Fedora Linux. I have read the README.cmake file, and have installed mingw32, but I am not sure where to go from there. For example, the README refers to the installation path of mingw32, but I installed mingw32 via yum, so as far as I can tell, I have some executables in /usr/bin, but... I am lost.
Does anyone here have any experience with this sort of thing? Any help would be greatly appreciated.
If you want the client on linux,
get the latest source from git, follow these directions - http://doc.manasource.org/git_repository
Help can be found on the linux forum - http://forums.themanaworld.org/viewforum.php?f=7
, search for building on linux, I'm a bit lazy otherwise I'd post the direct link that would be of more help.
Immediate assistance is best gained via IRC, read here - http://wiki.themanaworld.org/index.php/ ... channel.3F
, and it should point you to the right # to help you.
It is possible i've missed the boat with your question, I'm still a bit hung over from the Chargers loss last night.
-Cotillion
Re: cross compiling in linux
No, he wants to build the windows client on the Linux OS.Cotillion wrote:I may be misunderstanding:perv wrote:I am trying to cross-compile (for Windows) the 29.1 client in Fedora Linux. I have read the README.cmake file, and have installed mingw32, but I am not sure where to go from there. For example, the README refers to the installation path of mingw32, but I installed mingw32 via yum, so as far as I can tell, I have some executables in /usr/bin, but... I am lost.
Does anyone here have any experience with this sort of thing? Any help would be greatly appreciated.
If you want the client on linux,
get the latest source from git, follow these directions - http://doc.manasource.org/git_repository
Help can be found on the linux forum - http://forums.themanaworld.org/viewforum.php?f=7
, search for building on linux, I'm a bit lazy otherwise I'd post the direct link that would be of more help.
Immediate assistance is best gained via IRC, read here - http://wiki.themanaworld.org/index.php/ ... channel.3F
, and it should point you to the right # to help you.
It is possible i've missed the boat with your question, I'm still a bit hung over from the Chargers loss last night.
-Cotillion
<Kage_Jittai> ... are you saying I am elite
<thorbjorn> Yes.
<thorbjorn> Yes.
Re: cross compiling in linux
Kage wrote:No, he wants to build the windows client on the Linux OS.
Re: cross compiling in linux
Thanks for the replies, guys. I guess I should clarify a bit:
Kage is correct: I am trying to compile a Windows executable on my Fedora box.
I pulled down the latest client source from git, and installed mingw32. There is a file named README.cmake in the top level of the git files. This file has a section devoted to cross-compiling, and describes how to create a toolchain file containing:
SET(CMAKE_FIND_ROOT_PATH /build/mingw32 /build/tmw-libs )
But that line assumes that mingw32 is installed in /build.
If anyone has any experience cross-compiling tmw, or knows who wrote that section of README.cmake, I'd be very grateful for your reply.
Kage is correct: I am trying to compile a Windows executable on my Fedora box.
I pulled down the latest client source from git, and installed mingw32. There is a file named README.cmake in the top level of the git files. This file has a section devoted to cross-compiling, and describes how to create a toolchain file containing:
SET(CMAKE_FIND_ROOT_PATH /build/mingw32 /build/tmw-libs )
But that line assumes that mingw32 is installed in /build.
If anyone has any experience cross-compiling tmw, or knows who wrote that section of README.cmake, I'd be very grateful for your reply.
Re: cross compiling in linux
I ultimately decided to compile on a Windows box. I feel dirty, but it works.
Re: cross compiling in linux
If you can come to the #mana channel on irc.freenode.net, Aard can help you. He wrote that file and has the Mana nightlies building under BSD.
Re: cross compiling in linux
Thanks to all who replied. It turns out that Code::Blocks is a reasonably good tool, and compiling on Windows is much less painful than cross-compiling on Linux. I had failed to properly identify my objective - a Windows .exe.
Re: cross compiling in linux
May I ask why you wanted to compile the Windows binary for a Linux system? Why not just use the Linux version?