[squeak-dev] towards Alien in trunk

John M McIntosh johnmci at smalltalkconsulting.com
Wed Sep 2 07:58:05 UTC 2009


On 2-Sep-09, at 9:42 AM, Michael Haupt wrote:

> Hi John,
>
> On Wed, Sep 2, 2009 at 9:11 AM, John M
> McIntosh<johnmci at smalltalkconsulting.com> wrote:
>> ? I see that IA32ABI.bundle is in the mac 4.2.1beta1U VM's resource  
>> folder.
>
> yes, that was my fault. Sorry about that.

Eliot is guilty for picking the name, I thnk it's short for intel  
architecture 32 bit call interface.

>
>> If you alter the info.plist and flip SqueakDebug to 1  from zero
>> it will print lots of stuff related to loading of bundles to the  
>> Console Log
>> which might help tell us why it doesn't work for you.
>
> I get this when I run all the Alien tests:
>
> 02.09.09 09:41:23 [0x0-0x414414].org.squeak.Squeak[11218] tryLoading
> /Users/haupt/Squeak/Squeak
> 4.2.1beta1U.app/Contents/Resources/IA32ABI.bundle/Contents/MacOS/ 
> IA32ABI
> 02.09.09 09:41:23 [0x0-0x414414].org.squeak.Squeak[11218]
> ioFindExternalFunctionIn(getModuleName, 2363536)

For diagnostic interpretation the 'tryLoading' line prints the path  
were it tries to load the module.
Since it's found we don't bother looking in the dozen or so other  
places it could be.
If there was a loader error then it would have printed the error code  
and any error string from the unix dynamic loader api.
The ioFindExternalFunctionIn shows that we asked to resolve the name  
'getModuleName' in the binary to get an entry point address.


>
> Best,
>
> Michael

--
= 
= 
= 
========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com>   Twitter:   
squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
= 
= 
= 
========================================================================







More information about the Squeak-dev mailing list