[Vm-dev] building Cog on 64 bits debian

laurent laffont laurent.laffont at gmail.com
Mon Aug 15 13:38:13 UTC 2011


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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20110815/c11bfec6/attachment.htm


More information about the Vm-dev mailing list