[Spam] Re: [CMake] Re: premake build system

David C Thompson dcthomp at sandia.gov
Mon Dec 17 14:40:49 EST 2007


Gonzalo Garramuño wrote:
> Alexander Neundorf wrote:
> > On Monday 17 December 2007, Gonzalo Garramuño wrote:
> >> Bill Hoffman wrote:
> >>> Gonzalo Garramuño wrote:
> >>>>     * good for cross-compilation.
> >>> CVS CMake (and the coming 2.6 CMake) have extensive support for cross
> >>> compilation.
> >>>
> >>> http://www.cmake.org/Wiki/CMake_Cross_Compiling
> >> I'm still having a lot of problems with it.  Even cross-compiling on a
> >> 64-bit machine for 32-bit builds is, afaik, not really possible without
> >> major hacking of Platform/UnixPaths.
> > Ok, what are you doing exactly, what are the problems ?
> 
> First, trying simple 32-bit compiles on a 64-bit machine (Ubuntu OS).
> 
> For 32-bit compiles on a 64-bit machine, the problem is that UnixPaths 
> does not change the location where it searches for files.

Are you using "setarch i386 cmake" ? That should help by forcing uname
to advertise the architecture as 32-bit.

	David



More information about the CMake mailing list