[Vm-dev] building Cog on 64 bits debian

Patrick Mertens patrick.mertens012 at telenet.be
Mon Aug 15 13:46:32 UTC 2011


Please, remove me from your e- mail list! It's enough! Ihave nothing to do with vm-dev. Patrick Mertens.
  ----- Original Message ----- 
  From: laurent laffont 
  To: Squeak Virtual Machine Development Discussion 
  Cc: Romain Verduci ; An open mailing list to discuss any topics related to an open-sourceSmalltalk 
  Sent: Monday, August 15, 2011 3:38 PM
  Subject: Re: [Vm-dev] building Cog on 64 bits debian



------------------------------------------------------------------------------


  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/dcdf3631/attachment.htm


More information about the Vm-dev mailing list