On Oct 15, 2012, at 9:35 PM, "Alan W. Irwin" <ir...@beluga.phys.uvic.ca> wrote:
> On 2012-10-15 21:02-0700 Daniel Russel wrote: > >> I'm trying to get cross compilation of a simple library working to > build a windows library on a linux box using the visual studio > compilers. > > I don't get it. How can visual studio compilers execute properly on Linux? > Don't they need to be run on a Windows platform? Using Wine. I probably should have mentioned it. And perhaps cross-compilation is not quite the right term. Is there a better one? We have been using them to compile other projects built with scons. > > Regardless of the answer to that question you might want to try > building your library with the Windows version of CMake and the visual > studio compilers on the Wine Windows platform on Linux. Of course, > that is no longer cross-compiling since you are building your Windows > library directly on a Windows platform (Wine). Good idea. I'll give the windows version of cmake a try. > I have recently had good success with software builds using MinGW/MSYS > and the _Windows version of CMake on Wine. So if visual studio > compilers don't work on Wine because of some Wine incompatibility with > proprietary Windows, you can always move with a fair degree of > confidence to using MinGW/MSYS (and probably MinGW alone if you have > no need for the MSYS tools) on Wine. Thanks. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake