Cross-Compiling on Linux



I've been researching this for over a week now, and I can't get anything resembling a straight answer.

I am on an Ubuntu 15.04 x64 computer, using C++11 and CodeBlocks. I have a program written using the latest stable version of gtkmm. Now I need to compile the project with MinGW for both Win32 and Win64 on my Ubuntu machine. I have everything I need for building Windows binaries installed, but I have no idea how to compile gtkmm and its dependencies for Win32 and Win64 and linking them. There are some sparse instructions, including in the tarball, but they're so vague and unclear that I can't figure out how to accomplish this.

Can anyone provide me with a simple, step-by-step process for compiling my program? I know how to point CodeBlocks to header and lib files for a particular build without any trouble, but I have no idea how to GET those header and lib files for gtkmm and its dependencies from my Linux machine.

Thank you in advance.

-Jason C. McDonald


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]