discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] cmake destination on 64-bit machines


From: John Coppens
Subject: [Discuss-gnuradio] cmake destination on 64-bit machines
Date: Sun, 4 Mar 2012 14:13:39 -0300

Hello all,

Cmake seems to insist on installing all libraries in /usr/local/lib
instead on /usr/local/lib64. I can't find an obvious way to define
a destination path in cmake, or an architecture.

My machine is an AMD64, running Slackware, where the difference between
32 and 64 bit libraries is defined by the directories. So, the
installation in lib causes quite a few problems...

What I found until now:
Tracing the execution of cmake:

CMakeSystem.cmake(6):  SET(CMAKE_SYSTEM_PROCESSOR x86_64 )
GrPlatform.cmake(43):  if(NOT DEFINED LIB_SUFFIX AND REDHAT AND 
CMAKE_SYSTEM_PROCESSOR MATCHES 64$ ) 
GrPlatform.cmake(46):  set(LIB_SUFFIX ${LIB_SUFFIX} CACHE STRING lib directory 
suffix )

REDHAT isn't defined (I believe) and neither is LIB_SUFFIX. So I tried to run 
cmake:

cmake --DREDHAT --DLIB_SUFFIX=64 ..

Still installs in lib instead of lib64.

Suggestions Please!

John



reply via email to

[Prev in Thread] Current Thread [Next in Thread]