Question about primitives

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

Re: Question about primitives

David T. Lewis
 
On Wed, Feb 10, 2010 at 09:17:53AM +0100, Mariano Martinez Peck wrote:

>  
> On Tue, Feb 9, 2010 at 11:59 PM, David T. Lewis <[hidden email]> wrote:
> >
> > The minimum set of plugins required for a useful VM is:
> >  BalloonEnginePlugin
> >  BitBltSimulation
> >  FilePlugin
> >  SocketPlugin
> >
> > This produces a VM that can run an image, open the display,
>
> Thanks Dave!  Suppose I am using a headless image (maybe seaside using RFB),
> can I remove BitBltSimulation or BalloonEnginePlugin too ?

Actually I don't know. Give it a try and see what happens ;)

> There is a difference between this list and Andreas one (cool because those
> are the one Andreas said that can be removed)
>
> B2DPlugin.c
> LargeIntegers.c
> MiscPrimitivePlugin.c
> ZipPlugin.c
>
> Eliot said he recommended to have LargeIntegers and ZipPlugin. So, I guess I
> will put them too.

Yes, those are all plugins that you will want to include in your build
for performance reasons, but they are not strictly required.

Dave

Reply | Threaded
Open this post in threaded view
|

Re: Question about primitives

Eliot Miranda-2
In reply to this post by Mariano Martinez Peck
 


On Wed, Feb 10, 2010 at 4:38 AM, Mariano Martinez Peck <[hidden email]> wrote:
 


On Wed, Feb 10, 2010 at 11:11 AM, Mariano Martinez Peck <[hidden email]> wrote:



Thanks John. I have been trying to follow your steps. They are pretty accurate, however, I had some problems. I hope my newbie problems be of help to update the documentation if required.

1)  I had to copy the src generated from VMMaker (which was generated by default in the same directoy where the image is)  to svnSqueakTree/
From your comments I think you let also the default src. So, in such case I guess to need to do what I did (copy). I am right ?

In summary:  copy /Users/mariano/Pharo/imagenes/Pharo1.0-10508-rc1dev10.01.1/src  to  /Users/mariano/Pharo/VM/svnSqueakTree/svnSqueakTree

2)  In step 6, A)  it says "Double-click the SqueakVMUNIXPATHS.xcodeproj file"    which one ??  because at that time I have 3 of those files, as the readme previously said to copy that file to the folder where "platforms" and "src" are...So, I have 3 different SqueakVMUNIXPATHS.xcodeproj files.

I used the one of /Users/mariano/Pharo/VM/svnSqueakTree/svnSqueakTree

is this correct ? which should I use ?

3) In step 6, e) it says "From the Project menu pick the active build configuration you want to use."
I noticed that there is an option "set active build configuration" and 3 options: development, deployment and deployment symbols.

3.a) I am intrigued in the differences of those 3. I mean, what is done different in the compilation.

3.b) What is deploymentSymbols ?

3.c) Doing develoment, the VM is 2mb, but doing deployment is 3....is this correct ??  I would expect the development be bigger that deployment

4.d) There is an incredible difference in speed. Development is MUUUUUUCH more slow that production. This takes me to 3.a)   ;)


4)  No matter the "set active build configuration"  I couldn't make FreeType to work. I open an image with TrueType, but I cannot see the fonts...But the plugins are included when building the VM with VMMaker.
Do you now what can be the problem ?
 


5)  No matter which plugins I compile with VMMaker, when I open SqueakVMUNIXPATHS.xcodeproj  with XCode, I see all the plugins I didn't include, in red, which make sense....so, what can I do to compile correctly ?  go to each red file, right button -> delete  ?   I think that doesn't work as I have errors trying to compile after that :(

Deleting the red definitions is the right thing to do.  I expect you need to remove corresponding definitions from sqNamedPrims.h as well.

HTH
Eliot
 

Thanks!

Mariano

 
Thanks for any tip!

Mariano


 
On 2010-02-09, at 11:39 AM, Mariano Martinez Peck wrote:



On Tue, Feb 9, 2010 at 7:37 PM, John M McIntosh <[hidden email]> wrote:

For the OSX Version 4 VM the build documentation says:


Where is that information John ?   I am trying to compile the vm now that I already generated the .c but I am not sure how to do it correctly.

I noticed that it doesn't exit something like http://www.squeakvm.org/macos

I checked in http://smalltalkconsulting.com/squeak.html

but I didn't find anything.

Thanks

Mariano


--
===========================================================================
John M. McIntosh <[hidden email]>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================








12