building Cog on 64 bits debian

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
25 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: building Cog on 64 bits debian

Patrick Mertens
 
Please, remove me from your e- mail list! It's enough! Ihave nothing to do with vm-dev. Patrick Mertens.
----- Original Message -----
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 <[hidden email]> wrote:

On 15 August 2011 11:34, laurent laffont <[hidden email]> 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.

Reply | Threaded
Open this post in threaded view
|

Re: building Cog on 64 bits debian

Mariano Martinez Peck
In reply to this post by laurent laffont
 
Done. Thanks a lot Laurent. I like when non-vm-hackers are able to contribute as well.

Cheers

On Mon, Aug 15, 2011 at 3:38 PM, laurent laffont <[hidden email]> 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 <[hidden email]> wrote:

On 15 August 2011 11:34, laurent laffont <[hidden email]> 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

Reply | Threaded
Open this post in threaded view
|

Re: building Cog on 64 bits debian

laurent laffont
 



On Tue, Aug 16, 2011 at 12:09 PM, Mariano Martinez Peck <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote:

On 15 August 2011 11:34, laurent laffont <[hidden email]> 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



Reply | Threaded
Open this post in threaded view
|

Re: building Cog on 64 bits debian

Igor Stasenko
In reply to this post by laurent laffont

On 15 August 2011 15:38, laurent laffont <[hidden email]> 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.

Laurent, please put these instructions on class comment,
so they won't get lost and buried in mailing list :)
This is what i did with windows configs, because memory is short and i
can even forget myself , what i need to install to build VM(s).

And thanks for contribution!


--
Best regards,
Igor Stasenko AKA sig.
Reply | Threaded
Open this post in threaded view
|

Re: building Cog on 64 bits debian

Igor Stasenko

On 16 August 2011 19:25, Igor Stasenko <[hidden email]> wrote:

> On 15 August 2011 15:38, laurent laffont <[hidden email]> 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.
>
> Laurent, please put these instructions on class comment,
> so they won't get lost and buried in mailing list :)
> This is what i did with windows configs, because memory is short and i
> can even forget myself , what i need to install to build VM(s).
>
> And thanks for contribution!
>

Ehehe... you already did that.

i should read mail more carefully!  :)


>
> --
> Best regards,
> Igor Stasenko AKA sig.
>



--
Best regards,
Igor Stasenko AKA sig.
12