Thanks for the information. Unfortunately, I cannot find the command prompt.
Xiangyun --- On Tue, 8/25/09, David Cole <david.c...@kitware.com> wrote: > From: David Cole <david.c...@kitware.com> > Subject: Re: [CMake] Cross-compilation related question > To: "Xiangyun Kong" <xyk...@yahoo.com> > Cc: "Tyler Roscoe" <ty...@cryptio.net>, cmake@cmake.org > Date: Tuesday, August 25, 2009, 10:16 AM > If you are using "NMake > Makefiles" as the CMake generator, just be sure to > launch cmake (or cmake-gui) from the "Visual Studio x64 > Cross Tools Command Prompt".... That should build x64 > code for you without any special adjustments out of the > box. > > HTH,David > > On Tue, Aug 25, 2009 at 12:56 PM, > Xiangyun Kong <xyk...@yahoo.com> > wrote: > > Thanks. > After I use the new generator, it always looks for the 32 > bit > > cl.exe at vc_root/VC/bin, > > and complain that the cl.exe does not work, even though I > set the > > PATH as vc_root/VC/bin/x86_amd64. > > > > I used to use NMake Makefile, which does not complain about > that. > > > > Xiangyun > > > > --- On Tue, 8/25/09, Tyler Roscoe <ty...@cryptio.net> > wrote: > > > > > From: Tyler Roscoe <ty...@cryptio.net> > > > Subject: Re: [CMake] Cross-compilation related > question > > > To: "Xiangyun Kong" <xyk...@yahoo.com> > > > Cc: cmake@cmake.org > > > Date: Tuesday, August 25, 2009, 1:05 AM > > > On Tue, Aug 25, 2009 > at 12:08:10AM > > > -0700, Xiangyun Kong wrote: > > > > I am trying to do a cross-compilation with CMake. > I > > > got a problem > > > > in creating a 64-bit shared library on a Win32 > > > platform. > > > > The problem is the CMAKE is always appending the > > > > /machine:I386 following my arch setup > /machine:x64. > > > > > > Use the "Visual Studio 200X Win64" generator > instead of the > > > "Visual > > > Studio 200X" generator. > > > > > > tyler > > > > > _______________________________________________ > > 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 > > > > _______________________________________________ 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