RE: [CMake] Correct way to build for 64 bit?

2007-02-27 Thread Stephane Rouleau (Consultant)
- From: Bill Hoffman [mailto:[EMAIL PROTECTED] Sent: February 23, 2007 9:04 PM To: Stephane Rouleau (Consultant) Cc: [EMAIL PROTECTED]; cmake@cmake.org Subject: Re: [CMake] Correct way to build for 64 bit? Stephane Rouleau (Consultant) wrote: That's not what I wanted to read of course

Re: [CMake] Correct way to build for 64 bit?

2007-02-23 Thread Bill Hoffman
Stephane Rouleau (Consultant) wrote: [snip] 2. For the windows cl, a try compile is done to figure out which cl you are using. For the IDE, there is a separate generator for the 64 bit tool because you have to use a different tool. So, you either run vcvars64.bat then cmake for nmake, or you

RE: [CMake] Correct way to build for 64 bit?

2007-02-23 Thread Stephane Rouleau (Consultant)
. Thanks for the quick reply, Bill. Stephane -Original Message- From: Bill Hoffman [mailto:[EMAIL PROTECTED] Sent: February 23, 2007 5:02 PM To: Stephane Rouleau (Consultant) Cc: cmake@cmake.org Subject: Re: [CMake] Correct way to build for 64 bit? Stephane Rouleau (Consultant) wrote

Re: [CMake] Correct way to build for 64 bit?

2007-02-23 Thread Bill Hoffman
Stephane Rouleau (Consultant) wrote: That's not what I wanted to read of course. :) Has there been any thoughts given to adding support for this? When building through a vcproj you can cross-compile win32/x64 on 32 and 64 bits Windows, provided the proper compiler tools have been installed.

Re: [CMake] Correct way to build for 64 bit?

2007-02-02 Thread Bill Hoffman
Moreland, Kenneth wrote: Are there any plans for a more cross-platform mechanism for building a 64bit build? Perhaps there could be an option for ADD_LIBRARY and ADD_EXECUTABLE that told CMake whether to build for 32 bit or 64 bit. I'm thinking of something equivalent to the STATIC/SHARED

RE: [CMake] Correct way to build for 64 bit?

2007-02-01 Thread Moreland, Kenneth
-Original Message- From: [EMAIL PROTECTED] [mailto:cmake- [EMAIL PROTECTED] On Behalf Of Bill Hoffman Sent: Monday, January 29, 2007 11:34 AM To: Sean McBride Cc: cmake@cmake.org Subject: Re: [CMake] Correct way to build for 64 bit? Sean McBride wrote: Hi all, What is the correct way

Re: [CMake] Correct way to build for 64 bit?

2007-01-29 Thread Bill Hoffman
Sean McBride wrote: Hi all, What is the correct way to build a project as a 64 bit executable? When I build something on my PowerMac G5 (ex CMake or VTK), it is built as a 32 bit executable. The G5 is a 64 bit processor, but both gcc and CMake default to doing 32 bit builds (quite reasonable

Re: [CMake] Correct way to build for 64 bit?

2007-01-29 Thread Sean McBride
On 2007-01-29 13:33, Bill Hoffman said: Currently, you will have to set CFLAGS and CXXFLAGS to -arch ppc64, also most likely LDFLAGS. Set those in the environment before running cmake. That is what we do on other 64 bit platforms (IRIX for example). At Thanks for your quick reply Bill. I was