[Vm-dev] building Cog on 64 bits debian

laurent laffont laurent.laffont at gmail.com
Tue Aug 16 12:20:39 UTC 2011


On Tue, Aug 16, 2011 at 12:09 PM, Mariano Martinez Peck <
marianopeck at gmail.com> wrote:

>
> Done. Thanks a lot Laurent. I like when non-vm-hackers are able to
> contribute as well.
>

:)


Laurent


>
> Cheers
>
> On Mon, Aug 15, 2011 at 3:38 PM, laurent laffont <
> laurent.laffont at gmail.com> wrote:
>
>>
>> Hi Igor,
>>
>> now it works well. I've created CogOnDebian64Config but I cannot commit to
>> VMMaker repository. So you can get it on:
>>
>> Gofer it
>>   squeaksource: 'LaurentLSandbox';
>>   version: 'CMakeVMMaker-LaurentLaffont.135';
>>   load
>>
>> In CogOnDebian64Config comment:
>>
>> Used to build 32 bit Cog on Debian 64 bits.
>>
>> You need to prepare Debian this way:
>>
>> apt-get install ia32-libs libc6-dev-i386 gcc-multilib g++-multilib
>>
>> ln -s /usr/lib32/libSM.so.6 /usr/lib32/libSM.so
>> ln -s /usr/lib32/libICE.so.6 /usr/lib32/libICE.so
>> ln -s /usr/lib32/libGL.so.1 /usr/lib32/libGL.so
>> ln -s /usr/lib32/libX11.so.6 /usr/lib32/libX11.so
>>
>> Then you can go on CogOnDebian64Config generateWithSources.
>>
>>
>> Laurent.
>>
>>
>> On Mon, Aug 15, 2011 at 10:37 AM, Igor Stasenko <siguctua at gmail.com>wrote:
>>
>>>
>>> On 15 August 2011 11:34, laurent laffont <laurent.laffont at gmail.com>
>>> wrote:
>>> >
>>> > If I edit vm-display-null/CMakeLists.txt and change:
>>> > set_target_properties(vm-display-null PROPERTIES PREFIX "" SUFFIX "" )
>>> > to
>>> > set(linkFlags "${linkFlags} -m32")
>>> > set_target_properties(vm-display-null PROPERTIES LINK_FLAGS
>>> "${linkFlags}" PREFIX "" SUFFIX "" )
>>> > then cmake. && make
>>> > it works, right flags used.
>>> > So it seems that generateWithSources output wrong
>>> vm-display-null/CMakeLists.txt
>>> > Laurent.
>>> >
>>> Yes. Try out CMakeVMMaker-IgorStasenko.134
>>>
>>> And thanks for being persistent! :)
>>>
>>> --
>>> Best regards,
>>> Igor Stasenko AKA sig.
>>>
>>
>>
>>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20110816/73ac8290/attachment.htm


More information about the Vm-dev mailing list