As a small experiment I've just made a branch on the SVN server that _should_ contain a tree of platform files suitable for working with a 3. 8 image and the VMMaker38b4 on SM.
It ought to come your way in response to svn co http://squeak.hpl.hp.com/svn/squeak/branches/VMM38b4
This does NOT include the changes towards 64 bit cleanliness and thus does not need the small changes that ought to be in the update stream. If this seems to work, we'll try making a new branch for each future version of VMMaker so that the head can be left as the dangerous place.
tim -- Tim Rowledge, tim@rowledge.org, http://www.rowledge.org/tim Oxymorons: Living dead
Tim Rowledge wrote:
As a small experiment I've just made a branch on the SVN server that _should_ contain a tree of platform files suitable for working with a 3. 8 image and the VMMaker38b4 on SM.
It ought to come your way in response to svn co http://squeak.hpl.hp.com/svn/squeak/branches/VMM38b4
This does NOT include the changes towards 64 bit cleanliness and thus does not need the small changes that ought to be in the update stream. If this seems to work, we'll try making a new branch for each future version of VMMaker so that the head can be left as the dangerous place.
tim
cool. Thanks for doing that, Tim.
Question on the Unix code. VMM38b4 should be the same code as in the released 3.7-7 VM, right?
Brad Fuller brad@sonaural.com wrote:
Question on the Unix code. VMM38b4 should be the same code as in the released 3.7-7 VM, right?
I don't have the faintest idea! It is whatever was in the SVN repository at revision 1100, so any fixes Ian committed before then are in there. I have no unix machine so never have the need to worry about it. Nor a Windows machine. Life is so much less irritating that way.
tim -- Tim Rowledge, tim@rowledge.org, http://www.rowledge.org/tim Shift to the left! Shift to the right! Pop up, push down, byte, byte, byte!
Tim Rowledge wrote:
Brad Fuller brad@sonaural.com wrote:
Question on the Unix code. VMM38b4 should be the same code as in the released 3.7-7 VM, right?
I don't have the faintest idea! It is whatever was in the SVN repository at revision 1100, so any fixes Ian committed before then are in there. I have no unix machine so never have the need to worry about it. Nor a Windows machine. Life is so much less irritating that way.
Ok, I'm sure I'm doing something fundamentally wrong. Here is what I have
Squeak3.8.6665full.image VMMaker 3.8b4 Path to platforms code: /home/bfuller/projects/squeak/branches/VMM38b4 Platform name: unix Path to generated sources: /home/bfuller/projects/squeak/branches/src32
In VMMaker I have all external plugins and no internal.
1. <Generate All> (from a previous email thread I read I do): 2. cd bld; 3. ../config/configure --with-src=src32 4. cd .. 5. make
I get a lot of errors. Specifically no sq.h is in my VMMaker-created src32 dir, so I rcv the error:
/home/bfuller/projects/squeak/branches/src32/vm/interp.c:5:16: sq.h: No such file or directory
it's downhill from there.
I guess I didn't set up the paths correctly and the sq.h file doesn't get to the right dir. VMMaker experts can probably spot the problem right off!
thanks, brad
Brad Fuller brad@sonaural.com wrote:
Ok, I'm sure I'm doing something fundamentally wrong. Here is what I have
Squeak3.8.6665full.image VMMaker 3.8b4 Path to platforms code:
/home/bfuller/projects/squeak/branches/VMM38b4
Platform name: unix Path to generated sources:
/home/bfuller/projects/squeak/branches/src32
In VMMaker I have all external plugins and no internal.
<Generate All>
(from a previous email thread I read I do): 2. cd bld; 3. ../config/configure --with-src=src32 4. cd .. 5. make
I _think_ that you must have a later-than-1100 revision of the SVN output since I'm fairly sure that Ian didn't start using the 'src32' (and 'src64') until after the 64bit clean project started. VMM38b4 is for the SVN state immediately before that. Did you checkout the test branch ok? At least one person has successfully built from it so I have some hope that I got it right.
tim -- Tim Rowledge, tim@rowledge.org, http://www.rowledge.org/tim Software is best understood as a branch of movie making. - Ted Nelson
Tim Rowledge wrote:
Brad Fuller brad@sonaural.com wrote:
Ok, I'm sure I'm doing something fundamentally wrong. Here is what I have
Squeak3.8.6665full.image VMMaker 3.8b4 Path to platforms code:
/home/bfuller/projects/squeak/branches/VMM38b4
Platform name: unix Path to generated sources:
/home/bfuller/projects/squeak/branches/src32
In VMMaker I have all external plugins and no internal.
<Generate All>
(from a previous email thread I read I do): 2. cd bld; 3. ../config/configure --with-src=src32 4. cd .. 5. make
I _think_ that you must have a later-than-1100 revision of the SVN output since I'm fairly sure that Ian didn't start using the 'src32' (and 'src64') until after the 64bit clean project started. VMM38b4 is for the SVN state immediately before that. Did you checkout the test branch ok?
Yeah, it check'd out fine. I eliminated the use of src32 and just made it src. No difference though. Still have the errors.
At least one person has successfully built from it so I have some hope that I got it right.
That's good. Did they build unix? Maybe he/she will speak up and tell me what I did wrong.
That's good. Did they build unix? Maybe he/she will speak up and tell me what I did wrong.
I'd try it myself but my evil leenooks installation is too broken to pull the source at present. =(((((((
Brad Fuller brad@sonaural.com wrote:
I get a lot of errors. Specifically no sq.h is in my VMMaker-created src32 dir, so I rcv the error:
sq.h isn't one of the generated files; it is a handwritten file that lives in platforms/Cross/vm and so ther must be some path related screwup occuring. Best guess at this hour of the morning is that it might be worth renaming the directory /home/bfuller/projects/squeak/branches/VMM38b4 to /home/bfuller/projects/squeak/branches/platforms to see if it is just a makefile/path problem. I guess the SVN setup needs to be changed to avoid that but it is, after all, an experiment on my part to see if I can make a branch!
tim -- Tim Rowledge, tim@rowledge.org, http://www.rowledge.org/tim Useful random insult:- Doesn't have the brain power to toast a crouton.
Tim Rowledge wrote:
Brad Fuller brad@sonaural.com wrote:
get a lot of errors. Specifically no sq.h is in my VMMaker-created
src32 dir, so I rcv the error:sq.h isn't one of the generated files; it is a handwritten file that lives in platforms/Cross/vm and so ther must be some path related screwup occuring. Best guess at this hour of the morning is that it might be worth renaming the directory /home/bfuller/projects/squeak/branches/VMM38b4 to /home/bfuller/projects/squeak/branches/platforms to see if it is just a makefile/path problem. I guess the SVN setup needs to be changed to avoid that but it is, after all, an experiment on my part to see if I can make a branch!
You were right Tim - that was it! After renaming the dir, cleaning out the bld directory and generating 'All' in VMMaker, it make'd and installed. Seems to run fine too, although I haven't exercised it much.
Thanks for the help, Tim!
brad
Brad Fuller brad@sonaural.com wrote:
You were right Tim - that was it! After renaming the dir, cleaning
out
the bld directory and generating 'All' in VMMaker, it make'd and installed. Seems to run fine too, although I haven't exercised it
much. Ah good. That should be reasonably simple to fix properly then. If I can remember how I did it in the first place.
tim -- Tim Rowledge, tim@rowledge.org, http://www.rowledge.org/tim Diagnostics are the programs that run when nothing else will.
Tim Rowledge wrote:
Brad Fuller brad@sonaural.com wrote:
You were right Tim - that was it! After renaming the dir, cleaning
out
the bld directory and generating 'All' in VMMaker, it make'd and installed. Seems to run fine too, although I haven't exercised it
much. Ah good. That should be reasonably simple to fix properly then. If I can remember how I did it in the first place.
it seems to be hardcoded in /config/configure
Tim Rowledge wrote:
As a small experiment I've just made a branch on the SVN server that _should_ contain a tree of platform files suitable for working with a 3. 8 image and the VMMaker38b4 on SM.
It ought to come your way in response to svn co http://squeak.hpl.hp.com/svn/squeak/branches/VMM38b4
This does NOT include the changes towards 64 bit cleanliness and thus does not need the small changes that ought to be in the update stream. If this seems to work, we'll try making a new branch for each future version of VMMaker so that the head can be left as the dangerous place.
I suppose this link is gone: http://squeak.hpl.hp.com/svn/squeak/branches/VMM38b4
I couldn't get to it just now.
Actually, do I even need this? Tim originally supplied this so I could learn VM building. But, I'm now creating just an external plugin. Do I even need a buildable VM to build one external plugin? Perhaps I can use the latest SVN just for the directory structure?
How do others create a working environment for external plugin dev?
brad
Brad Fuller wrote:
I suppose this link is gone: http://squeak.hpl.hp.com/svn/squeak/branches/VMM38b4
http://squeakvm.org/svn/squeak/branches/VMM38b4
Josh
squeak-dev@lists.squeakfoundation.org