[CMake] Cross-compilation related question

2009-08-25 Thread Xiangyun Kong
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. My CMake file looks like,

Re: [CMake] Cross-compilation related question

2009-08-25 Thread Tyler Roscoe
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

Re: [CMake] Cross-compilation related question

2009-08-25 Thread Xiangyun Kong
, 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

Re: [CMake] Cross-compilation related question

2009-08-25 Thread John Drescher
On Tue, Aug 25, 2009 at 12:56 PM, Xiangyun Kongxyk...@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

Re: [CMake] Cross-compilation related question

2009-08-25 Thread Xiangyun Kong
It can generate 64-bit code if the cross-compiler under bin/x86_amd64 is used. Xiangyun --- On Tue, 8/25/09, John Drescher dresche...@gmail.com wrote: From: John Drescher dresche...@gmail.com Subject: Re: [CMake] Cross-compilation related question To: Xiangyun Kong xyk...@yahoo.com Cc

Re: [CMake] Cross-compilation related question

2009-08-25 Thread David Cole
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

Re: [CMake] Cross-compilation related question

2009-08-25 Thread Xiangyun Kong
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