[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squeak-vm-dev
Subject:    Re: [vm-dev] Generating with VMMaker-dtl.125 ....
From:       "David T. Lewis" <lewis () mail ! msen ! com>
Date:       2009-07-15 22:45:28
Message-ID: 20090715224528.GA35148 () shell ! msen ! com
[Download RAW message or body]

 
Actually, it's perfectly reasonable to expect VMMaker to work with a
Pharo image. It really should not make any difference at all.

I'm guessing there may be something different about file or directory
handling in the Pharo image? I'm not going to try to hunt this down
right now (leaving on vacation), but if anyone knows what's different,
I'm sure we can find a workaround.

Dave

On Wed, Jul 15, 2009 at 10:03:07PM +0200, Marco Schmidt wrote:
> 
> Hmmm,
> 
> I had the correct path - but not the correct image. I tried it now
> with an standard squeak image and everything works as expected. So -
> there is no bug
> 
> Sorry for the false alarm...
> 
> Marco Schmidt
> 
> 2009/7/15 Andreas Raab <andreas.raab@gmx.de>:
> >
> > Marco Schmidt wrote:
> >>
> >> Generating source with VMMaker-dtl.125 produces the appended stack trace.
> >> The
> >> VMMaker is missing directories. Does every plugin need a directory in
> >> .../Cross? I tried to ignore missing directories programatically but the
> >> code generator hangs then in the inlining pass.
> >
> > I think your directory paths are not set correctly. Assuming you started
> > with a file release from squeakvm.org (i.e.,
> > http://squeakvm.org/win32/release/SqueakVM-Win32-3.11.3-src.zip or similar)
> > the "path to platforms code" should be set be "c:\squeakvm\platforms" and
> > the "path to generated sources" should be set to "c:\squeakvm\winbuild\src".
> >
> > Cheers,
> > ?- Andreas
> >
> >>
> >>
> >>
> >> 15 July 2009 4:56:48 pm
> >>
> >> VM: Win32 - IX86 - NT - Squeak3.10.2 of '5 June 2008' [latest update:
> >> #7179]
> >> Image: Pharo0.1 [Latest update: #10377]
> >>
> >> SecurityManager state:
> >> Restricted: false
> >> FileAccess: true
> >> SocketAccess: true
> >> Working Dir H:\Smalltalk\Images\pharo-0.1Core-10371
> >> Trusted Dir H:\Smalltalk\Images\pharo-0.1Core-10371\marco
> >> Untrusted Dir C:\Users\marco\Documents\My Squeak
> >>
> >> DosFileDirectory(FileDirectory)>>directoryContentsFor:
> >> ? ? ? ?Receiver: DosFileDirectory on
> >> 'c:\squeakvm\platforms\Cross\plugins\ADPCMCodecPlugin'
> >> ? ? ? ?Arguments and temporary variables: ? ? ? ? ? ? ? ?fullPath:
> >> FilePath('c:\squeakvm\platforms\Cross\plugins\ADPCMCodecPlugin')
> >> ? ? ? ? ? ? ? ?entries: ? ? ? ?an OrderedCollection()
> >> ? ? ? ? ? ? ? ?index: ?1
> >> ? ? ? ? ? ? ? ?done: ? false
> >> ? ? ? ? ? ? ? ?entryArray: ? ? #badDirectoryPath
> >> ? ? ? ? ? ? ? ?f:
> >> ?'c:\squeakvm\platforms\Cross\plugins\ADPCMCodecPlugin'
> >> ? ? ? ?Receiver's instance variables: ? ? ? ? ? ? ? ?pathName:
> >> FilePath('c:\squeakvm\platforms\Cross\plugins\ADPCMCodecPlugin')
> >>
> >> DosFileDirectory(FileDirectory)>>entries
> >> ? ? ? ?Receiver: DosFileDirectory on
> >> 'c:\squeakvm\platforms\Cross\plugins\ADPCMCodecPlugin'
> >> ? ? ? ?Arguments and temporary variables:
> >> ? ? ? ?Receiver's instance variables: ? ? ? ? ? ? ? ?pathName:
> >> FilePath('c:\squeakvm\platforms\Cross\plugins\ADPCMCodecPlugin')
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic