Tools to Build Cog on Win32

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

Tools to Build Cog on Win32

Rob Rothwell
 
Is there some way to package the tools required to build Cog similar to the Squeak-Win32-Tools package that is available for the standard Squeak VM?

I just don't seem to be savvy enough to choose all the proper cygwin options.  I DID manage to get subversion loaded in cygwin and check out the sources, but I am sure I am doing the wrong thing by installing the 1.7.5 version of cygwin since HowToBuild references 1.5.24.  Plus, I just can't seem to get the right gcc...I keep getting "gcc: The -mno-cygwin flag has been removed; use a mingq-targeted cross-compiler," and I just can't seem to get the right installation options selected in the "Devel" section.

So...either a prebuilt bundle or very specific instructions for mere mortals would be very helpful!  It would be nice to keep up with the fixes; this VM made a HUGE difference in some Binaural Beat generation code I have that writes very large audio files.  I can actually fork the code now and keep using the image with very good responsiveness!  Amazing!

Thanks for any help,

Rob
Reply | Threaded
Open this post in threaded view
|

Re: Tools to Build Cog on Win32

Rob Rothwell
 
Disregard!  I have found the magic incantation and even got Pharo 1.1  running in a VM compiled on my own!

I will try to type up the formula for others to follow in terms of installing cygwin and the required tools.

Thank you,

Rob

On Sun, Jun 27, 2010 at 11:14 AM, Rob Rothwell <[hidden email]> wrote:
Is there some way to package the tools required to build Cog similar to the Squeak-Win32-Tools package that is available for the standard Squeak VM?

I just don't seem to be savvy enough to choose all the proper cygwin options.  I DID manage to get subversion loaded in cygwin and check out the sources, but I am sure I am doing the wrong thing by installing the 1.7.5 version of cygwin since HowToBuild references 1.5.24.  Plus, I just can't seem to get the right gcc...I keep getting "gcc: The -mno-cygwin flag has been removed; use a mingq-targeted cross-compiler," and I just can't seem to get the right installation options selected in the "Devel" section.

So...either a prebuilt bundle or very specific instructions for mere mortals would be very helpful!  It would be nice to keep up with the fixes; this VM made a HUGE difference in some Binaural Beat generation code I have that writes very large audio files.  I can actually fork the code now and keep using the image with very good responsiveness!  Amazing!

Thanks for any help,

Rob

Reply | Threaded
Open this post in threaded view
|

Re: Tools to Build Cog on Win32

laurent laffont
 

On Mon, Jun 28, 2010 at 1:47 AM, Rob Rothwell <[hidden email]> wrote:
 
Disregard!  I have found the magic incantation and even got Pharo 1.1  running in a VM compiled on my own!


Laurent

 

I will try to type up the formula for others to follow in terms of installing cygwin and the required tools.

Thank you,

Rob

On Sun, Jun 27, 2010 at 11:14 AM, Rob Rothwell <[hidden email]> wrote:
Is there some way to package the tools required to build Cog similar to the Squeak-Win32-Tools package that is available for the standard Squeak VM?

I just don't seem to be savvy enough to choose all the proper cygwin options.  I DID manage to get subversion loaded in cygwin and check out the sources, but I am sure I am doing the wrong thing by installing the 1.7.5 version of cygwin since HowToBuild references 1.5.24.  Plus, I just can't seem to get the right gcc...I keep getting "gcc: The -mno-cygwin flag has been removed; use a mingq-targeted cross-compiler," and I just can't seem to get the right installation options selected in the "Devel" section.

So...either a prebuilt bundle or very specific instructions for mere mortals would be very helpful!  It would be nice to keep up with the fixes; this VM made a HUGE difference in some Binaural Beat generation code I have that writes very large audio files.  I can actually fork the code now and keep using the image with very good responsiveness!  Amazing!

Thanks for any help,

Rob



Reply | Threaded
Open this post in threaded view
|

Re: Tools to Build Cog on Win32

Rob Rothwell
 
Ok!

(I can even describe the standard VM, having thought that technique might work as well...)

Take care,

Rob

On Mon, Jun 28, 2010 at 3:12 AM, laurent laffont <[hidden email]> wrote:
 

On Mon, Jun 28, 2010 at 1:47 AM, Rob Rothwell <[hidden email]> wrote:
 
Disregard!  I have found the magic incantation and even got Pharo 1.1  running in a VM compiled on my own!


Laurent

 

I will try to type up the formula for others to follow in terms of installing cygwin and the required tools.

Thank you,

Rob

On Sun, Jun 27, 2010 at 11:14 AM, Rob Rothwell <[hidden email]> wrote:
Is there some way to package the tools required to build Cog similar to the Squeak-Win32-Tools package that is available for the standard Squeak VM?

I just don't seem to be savvy enough to choose all the proper cygwin options.  I DID manage to get subversion loaded in cygwin and check out the sources, but I am sure I am doing the wrong thing by installing the 1.7.5 version of cygwin since HowToBuild references 1.5.24.  Plus, I just can't seem to get the right gcc...I keep getting "gcc: The -mno-cygwin flag has been removed; use a mingq-targeted cross-compiler," and I just can't seem to get the right installation options selected in the "Devel" section.

So...either a prebuilt bundle or very specific instructions for mere mortals would be very helpful!  It would be nice to keep up with the fixes; this VM made a HUGE difference in some Binaural Beat generation code I have that writes very large audio files.  I can actually fork the code now and keep using the image with very good responsiveness!  Amazing!

Thanks for any help,

Rob





Reply | Threaded
Open this post in threaded view
|

Re: Tools to Build Cog on Win32

Rob Rothwell
In reply to this post by laurent laffont
 
I have a good [rough draft] start on very detailed (too detailed?) steps to properly install Cygwin and build the Cog VM on Windows.  I just need to add preparing the image for first time use, etc...:

http://book.pharo-project.org/book/Virtual-Machine/Building/BuildVMOnWindows/BuildCogVMOnWindows/

(I haven't started editing/revising yet).

Anyway, if anyone could help me properly position my two topics, "Cog VM" and "Traditional (Squeak) VM" underneath "The MS-Windows way," I would greatly appreciated it.  Although they are subsections, they are fully "unindented" like a chapter in the table of contents...

Thank you,

Rob

On Mon, Jun 28, 2010 at 3:12 AM, laurent laffont <[hidden email]> wrote:
 

On Mon, Jun 28, 2010 at 1:47 AM, Rob Rothwell <[hidden email]> wrote:
 
Disregard!  I have found the magic incantation and even got Pharo 1.1  running in a VM compiled on my own!


Laurent

 

I will try to type up the formula for others to follow in terms of installing cygwin and the required tools.

Thank you,

Rob

On Sun, Jun 27, 2010 at 11:14 AM, Rob Rothwell <[hidden email]> wrote:
Is there some way to package the tools required to build Cog similar to the Squeak-Win32-Tools package that is available for the standard Squeak VM?

I just don't seem to be savvy enough to choose all the proper cygwin options.  I DID manage to get subversion loaded in cygwin and check out the sources, but I am sure I am doing the wrong thing by installing the 1.7.5 version of cygwin since HowToBuild references 1.5.24.  Plus, I just can't seem to get the right gcc...I keep getting "gcc: The -mno-cygwin flag has been removed; use a mingq-targeted cross-compiler," and I just can't seem to get the right installation options selected in the "Devel" section.

So...either a prebuilt bundle or very specific instructions for mere mortals would be very helpful!  It would be nice to keep up with the fixes; this VM made a HUGE difference in some Binaural Beat generation code I have that writes very large audio files.  I can actually fork the code now and keep using the image with very good responsiveness!  Amazing!

Thanks for any help,

Rob





Reply | Threaded
Open this post in threaded view
|

Re: Tools to Build Cog on Win32

laurent laffont
 
On Tue, Jun 29, 2010 at 5:16 AM, Rob Rothwell <[hidden email]> wrote:
 
I have a good [rough draft] start on very detailed (too detailed?) steps to properly install Cygwin and build the Cog VM on Windows.  I just need to add preparing the image for first time use, etc...:

http://book.pharo-project.org/book/Virtual-Machine/Building/BuildVMOnWindows/BuildCogVMOnWindows/


Thank you !!
 

(I haven't started editing/revising yet).

Anyway, if anyone could help me properly position my two topics, "Cog VM" and "Traditional (Squeak) VM" underneath "The MS-Windows way," I would greatly appreciated it.  Although they are subsections, they are fully "unindented" like a chapter in the table of contents...


It seems someone has done it ... Anyway, to move a page, click on the 'Move' link in the command line and the choose the parent section.

Laurent

 

Thank you,

Rob

On Mon, Jun 28, 2010 at 3:12 AM, laurent laffont <[hidden email]> wrote:
 

On Mon, Jun 28, 2010 at 1:47 AM, Rob Rothwell <[hidden email]> wrote:
 
Disregard!  I have found the magic incantation and even got Pharo 1.1  running in a VM compiled on my own!


Laurent

 

I will try to type up the formula for others to follow in terms of installing cygwin and the required tools.

Thank you,

Rob

On Sun, Jun 27, 2010 at 11:14 AM, Rob Rothwell <[hidden email]> wrote:
Is there some way to package the tools required to build Cog similar to the Squeak-Win32-Tools package that is available for the standard Squeak VM?

I just don't seem to be savvy enough to choose all the proper cygwin options.  I DID manage to get subversion loaded in cygwin and check out the sources, but I am sure I am doing the wrong thing by installing the 1.7.5 version of cygwin since HowToBuild references 1.5.24.  Plus, I just can't seem to get the right gcc...I keep getting "gcc: The -mno-cygwin flag has been removed; use a mingq-targeted cross-compiler," and I just can't seem to get the right installation options selected in the "Devel" section.

So...either a prebuilt bundle or very specific instructions for mere mortals would be very helpful!  It would be nice to keep up with the fixes; this VM made a HUGE difference in some Binaural Beat generation code I have that writes very large audio files.  I can actually fork the code now and keep using the image with very good responsiveness!  Amazing!

Thanks for any help,

Rob







Reply | Threaded
Open this post in threaded view
|

Re: Tools to Build Cog on Win32

Mariano Martinez Peck
In reply to this post by Rob Rothwell
 


On Tue, Jun 29, 2010 at 5:16 AM, Rob Rothwell <[hidden email]> wrote:
 
I have a good [rough draft] start on very detailed (too detailed?) steps to properly install Cygwin and build the Cog VM on Windows.  I just need to add preparing the image for first time use, etc...:

http://book.pharo-project.org/book/Virtual-Machine/Building/BuildVMOnWindows/BuildCogVMOnWindows/


This is really great!   I am glad to have created an user for you :)

Thank you a lot

Mariano



(I haven't started editing/revising yet).

Anyway, if anyone could help me properly position my two topics, "Cog VM" and "Traditional (Squeak) VM" underneath "The MS-Windows way," I would greatly appreciated it.  Although they are subsections, they are fully "unindented" like a chapter in the table of contents...

Thank you,

Rob

On Mon, Jun 28, 2010 at 3:12 AM, laurent laffont <[hidden email]> wrote:
 

On Mon, Jun 28, 2010 at 1:47 AM, Rob Rothwell <[hidden email]> wrote:
 
Disregard!  I have found the magic incantation and even got Pharo 1.1  running in a VM compiled on my own!


Laurent

 

I will try to type up the formula for others to follow in terms of installing cygwin and the required tools.

Thank you,

Rob

On Sun, Jun 27, 2010 at 11:14 AM, Rob Rothwell <[hidden email]> wrote:
Is there some way to package the tools required to build Cog similar to the Squeak-Win32-Tools package that is available for the standard Squeak VM?

I just don't seem to be savvy enough to choose all the proper cygwin options.  I DID manage to get subversion loaded in cygwin and check out the sources, but I am sure I am doing the wrong thing by installing the 1.7.5 version of cygwin since HowToBuild references 1.5.24.  Plus, I just can't seem to get the right gcc...I keep getting "gcc: The -mno-cygwin flag has been removed; use a mingq-targeted cross-compiler," and I just can't seem to get the right installation options selected in the "Devel" section.

So...either a prebuilt bundle or very specific instructions for mere mortals would be very helpful!  It would be nice to keep up with the fixes; this VM made a HUGE difference in some Binaural Beat generation code I have that writes very large audio files.  I can actually fork the code now and keep using the image with very good responsiveness!  Amazing!

Thanks for any help,

Rob







Reply | Threaded
Open this post in threaded view
|

Re: Tools to Build Cog on Win32

Rob Rothwell
In reply to this post by laurent laffont
 
On Tue, Jun 29, 2010 at 2:11 AM, laurent laffont <[hidden email]> wrote:

It seems someone has done it ... Anyway, to move a page, click on the 'Move' link in the command line and the choose the parent section.

The section is right, but on the table of contents, it looks like this:

2.0  Virtual-Machine
2.1      Building
2.1.1         The GNU/Linux way
2.1.2         The Mac OSX way
2.1.3         The MS-Windows way
2.1.3.1 Cog VM
2.1.3.2 Traditional (Squeak) VM
2.1.4         VMMaker

Instead of this:

2.0  Virtual-Machine
2.1      Building
2.1.1         The GNU/Linux way
2.1.2         The Mac OSX way
2.1.3         The MS-Windows way
2.1.3.1             Cog VM
2.1.3.2             Traditional (Squeak) VM
2.1.4         VMMaker

(See attached graphic)

I also have some "lost diagrams" that I do not know how to get back to--I know I created something incorrectly and it is "in the system" somewhere, but I don't know how to find it and delete it...

Thanks,

Rob

TOC_Example.PNG (10K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Tools to Build Cog on Win32

Rob Rothwell
In reply to this post by Mariano Martinez Peck
 
On Tue, Jun 29, 2010 at 4:00 AM, Mariano Martinez Peck <[hidden email]> wrote:

This is really great!   I am glad to have created an user for you :)

Not having innate Squeak "HowTo" coursing through my veins like so many of the experts here, I have always threatened to fix my biggest complaint with Smalltalk in general and the Squeak "line of products" specifically:  no help!

Things seem to be moving in the right direction; maybe I can help out a bit...

Thanks,

Rob

Reply | Threaded
Open this post in threaded view
|

Re: Tools to Build Cog on Win32

melkyades
In reply to this post by Rob Rothwell
 
Yes, and there's another problem too. When you try to change the order of a group of sections it *seems* to do it but then you hit refresh and nothing has changed at all.

Regards,
            Javier.

On Tue, Jun 29, 2010 at 7:47 AM, Rob Rothwell <[hidden email]> wrote:
 
On Tue, Jun 29, 2010 at 2:11 AM, laurent laffont <[hidden email]> wrote:

It seems someone has done it ... Anyway, to move a page, click on the 'Move' link in the command line and the choose the parent section.

The section is right, but on the table of contents, it looks like this:

2.0  Virtual-Machine
2.1      Building
2.1.1         The GNU/Linux way
2.1.2         The Mac OSX way
2.1.3         The MS-Windows way
2.1.3.1 Cog VM
2.1.3.2 Traditional (Squeak) VM
2.1.4         VMMaker

Instead of this:

2.0  Virtual-Machine
2.1      Building
2.1.1         The GNU/Linux way
2.1.2         The Mac OSX way
2.1.3         The MS-Windows way
2.1.3.1             Cog VM
2.1.3.2             Traditional (Squeak) VM
2.1.4         VMMaker

(See attached graphic)

I also have some "lost diagrams" that I do not know how to get back to--I know I created something incorrectly and it is "in the system" somewhere, but I don't know how to find it and delete it...

Thanks,

Rob




--
Javier Pimás
Ciudad de Buenos Aires
Reply | Threaded
Open this post in threaded view
|

Re: Tools to Build Cog on Win32

Rob Rothwell
 
Any Suggestions?

Maybe rebuild a new Chapter completely from scratch and copy the content?  I don't have any experience with this...

Rob

On Thu, Jul 1, 2010 at 4:10 PM, Javier Pimás <[hidden email]> wrote:
 
Yes, and there's another problem too. When you try to change the order of a group of sections it *seems* to do it but then you hit refresh and nothing has changed at all.

Regards,
            Javier.

On Tue, Jun 29, 2010 at 7:47 AM, Rob Rothwell <[hidden email]> wrote:
 
On Tue, Jun 29, 2010 at 2:11 AM, laurent laffont <[hidden email]> wrote:

It seems someone has done it ... Anyway, to move a page, click on the 'Move' link in the command line and the choose the parent section.

The section is right, but on the table of contents, it looks like this:

2.0  Virtual-Machine
2.1      Building
2.1.1         The GNU/Linux way
2.1.2         The Mac OSX way
2.1.3         The MS-Windows way
2.1.3.1 Cog VM
2.1.3.2 Traditional (Squeak) VM
2.1.4         VMMaker

Instead of this:

2.0  Virtual-Machine
2.1      Building
2.1.1         The GNU/Linux way
2.1.2         The Mac OSX way
2.1.3         The MS-Windows way
2.1.3.1             Cog VM
2.1.3.2             Traditional (Squeak) VM
2.1.4         VMMaker

(See attached graphic)

I also have some "lost diagrams" that I do not know how to get back to--I know I created something incorrectly and it is "in the system" somewhere, but I don't know how to find it and delete it...

Thanks,

Rob




--
Javier Pimás
Ciudad de Buenos Aires