[prev in list] [next in list] [prev in thread] [next in thread]
List: cmake
Subject: Re: [CMake] how to compile as 32bit on a 64bit Linux host ?
From: Yngve Inntjore Levinsen <yngve.levinsen () gmail ! com>
Date: 2013-02-15 16:22:14
Message-ID: 511E60B6.2000705 () gmail ! com
[Download RAW message or body]
It is true, I actually never had problems just adding -m32 on my
machines, but I assumed some systems are more difficult than others..
But what do I know? :)
Cheers,
Yngve
On 15/02/13 16:33, clinton@elemtech.com wrote:
> Or simply specify -m32 at the first configure
> CFLAGS=-m32 CXXFLAGS=-m32 cmake ../src
>
> find_library() works correctly if you do that, and it automatically detects if the \
> 32 bit libraries are in /usr/lib32 or /usr/lib.
> Clint
--
Powered by www.kitware.com
Visit other Kitware open-source projects at \
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at: \
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic