cmake/modules + x86_64

Laurent Montel montel at kde.org
Sun Jan 29 15:11:04 CET 2006


On Sunday 29 January 2006 15:04, Alexander Neundorf wrote:
> On Sunday 29 January 2006 14:55, you wrote:
> > Hi,
> > For the moment I didn't test compile under x86_64
> > but into all your module you search into /usr/lib and /usr/local/lib
> > but not into /usr/lib64
> > Mandriva  and other distro put lib into /usr/lib64/
>
> It may very well be possible that this has to be added.
> How are these things handled on 64bit systems ?
> Are there additionally to the /lib, /usr/lib and /usr/local/lib directories
> also /lib64, /usr/lib64 and /usr/local/lib64 directories ? Are the
> libraries located there generally preferred over the ones in the "old"
> directories ?

on x86_64 we must install 32 bits librairy which installed into /usr/lib
But for standard 64 bits it's installed into /usr/lib64 /lib64 etc.

For building on x86_64 we added in configure : ./configure --libsuffix=64


> In the case you need these paths added to the library search path, you can
> for now set the environment variable CMAKE_LIBRARY_PATH 

ok

> (not cmake 
> variable, a normal environment variable). There is also the equivalent for
> headers, CMAKE_INCLUDE_PATH .

header is installed into /usr/include
not 64 bits header.



> Bye
> Alex


More information about the Kde-buildsystem mailing list