In my work, all the project data is in NFS, accessible both from Linux and from Windows computers (using Samba). All the work is done on Linux, but I want to compile some tools for Windows so that I can debug work with Visual Studio.
I already have a good make file that can create code for 32-bit or 64-bit Linux using different purposes. Assuming I have the Windows version of all external libraries somewhere in NFS, and if the code is clean enough to compile under Windows, is it possible to compile and link my Windows program using an existing makefile on Linux? Ideally, I would like to call makefile once and build all three 32-bit Linux, 64-bit Linux, and Windows.
An added plus would be the ability to compile it with any Visual Studio metadata to facilitate debugging.
linux windows cross-platform compilation
Nathan Fellman Oct 04 '09 at 15:40 2009-10-04 15:40
source share