[Gammaray-interest] 32bit on 64bit system

hg at technosis.de hg at technosis.de
Wed Apr 23 12:28:05 CEST 2014



Am 23.04.2014 11:53, schrieb Peter Kümmel:
> On 23.04.2014 11:46, hg at technosis.de wrote:
>>
>>
>> Am 23.04.2014 11:22, schrieb Peter Kümmel:
>>> On 23.04.2014 11:19, Peter Kümmel wrote:
>>>>>>> The final build error I get is:
>>>>
>>>> Ah, it's a build error. Have you used the cross-compiler? Plain g++
>>>> builds for x64.
>>>>
>>>
>>> Maybe it is enough to pass a compile flag to build for i686.
>>
>> yes, that's what I do in my projects -m32.
>> I never need a cross compiler for that.
>> What is the correct way to set the -m32 flag with cmake builds?
>> I mean gcc would respect the flag, but hiw about cmake? Cmake pulls the
>> 64bit dlls for for instance graphviz into the link step. Don't know
>> wether the -m32 flag would change that. So I was expecting a cmake flag
>> to set the target.
>>
>> Regards,
>> Heiko
>>
> 
> This is more a cmake related question, so googling gives you  many hits,
> e.g.:
> "Hello, for my project I'd like to be able to configure a 32 bit build
> with GCC in a 64 bit Linux environment by setting variables from command
> line interface."
> http://www.cmake.org/pipermail/cmake/2013-March/054137.html
> 
> Peter
> 

Thanks again,
 and sorry, I did not expect that it was a plain cmake question.
The 32bit build worked :-)
So I learned about cmake and now check what benefits gammaray may bring ...

Regards
Heiko

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5936 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.kdab.com/pipermail/gammaray-interest/attachments/20140423/617f65cd/attachment-0001.bin>


More information about the Gammaray-interest mailing list