Re: [CMake] Linux 64 bit woes

2008-03-27 Thread Michael Wild
On 27Mar, 2008, at 9:27, Andreas Schneider wrote: Robert Bielik wrote: I'm compiling under Ubuntu and want to generate 64 bit code. Is there a way to get cmake to generate the correct settings in the Makefile ? I tried adding -m64 (and -march=x86-64) but the __x86_64__ define does not seem

Re: [CMake] Linux 64 bit woes

2008-03-27 Thread Andreas Schneider
Robert Bielik wrote: I'm compiling under Ubuntu and want to generate 64 bit code. Is there a way to get cmake to generate the correct settings in the Makefile ? I tried adding -m64 (and -march=x86-64) but the __x86_64__ define does not seem to be set. I.e. when using This define is set by th

Re: [CMake] Linux 64 bit woes

2008-03-27 Thread Robert Bielik
Adiel Mittmann skrev: Are you trying to cross-compile? Otherwise I don't think you have to do anything special with CMake to make it generate a working Makefile. Yes, the server I'm compiling on has 32 bit Ubuntu. But I'm getting access to a 64 bit one soon so I guess my woes are over then :)

Re: [CMake] Linux 64 bit woes

2008-03-26 Thread Adiel Mittmann
Hi. On Wed, Mar 26, 2008 at 10:12:18PM +0100, Robert Bielik wrote: > I'm compiling under Ubuntu and want to generate 64 bit code. Is there a way to > get cmake to generate the correct settings in the Makefile ? Are you trying to cross-compile? Otherwise I don't think you have to do anything speci

[CMake] Linux 64 bit woes

2008-03-26 Thread Robert Bielik
I'm compiling under Ubuntu and want to generate 64 bit code. Is there a way to get cmake to generate the correct settings in the Makefile ? I tried adding -m64 (and -march=x86-64) but the __x86_64__ define does not seem to be set. I.e. when using FD_SET it gets the #define from asm-i386/posix_t