[osg-users] 64bit question

Robert Osfield robert.osfield at gmail.com
Fri Jan 25 01:46:00 PST 2008


Hi Paul,

On Jan 24, 2008 10:18 PM, Paul Pocock <Paul.Pocock at dsto.defence.gov.au> wrote:
> I was wondering this myself - If I build with cmake in 64 bit linux, how
> do I know I'm getting 64 bit. Does Cmake do auto detecting of
> architectures and is this reliable ?

It will default to 64bit if your OS is 64bit.

On linux the CMake build will by default set the LIB_POSTFIX variable
to 64, its not full proof a sign that you have 64 bit though, as this
is a variable you can override.  This is the only sign I've spotted so
far for a 64 bit build though.  Perhaps someone more expert in CMake
will be able to show us more clearly.

Potentially one could add a flag to CMake build just to show whether
its 32 or 64bit build just for information purposes.

Robert.


More information about the osg-users mailing list