[Vm-dev] Fwd: IA32ABI plugin and absolute library paths

John M McIntosh johnmci at smalltalkconsulting.com
Wed Sep 23 00:05:01 UTC 2009


Ok, I had thought I had sent this to the list but apparently only to  
Eliot.

The issue is that we don' t have a concept of looking for an absolute  
path when doing the module lookup, rather we look in a discrete number  
of known places,
or in various system related directories.

Should we have a modification that allows you to specify an absolute  
path?


Begin forwarded message:

> From: Ken Treis <ken at miriamtech.com>
> Date: September 9, 2009 8:45:55 AM PDT
> To: John McIntosh <johnmci at smalltalkconsulting.com>
> Subject: IA32ABI plugin and absolute library paths
>
> Hi John,
>
> I'm not sure who to send this to, so let me know if there's a  
> mailing list that'd be better.
>
> I'm using Alien on my Mac (Snow Leopard). When I tried passing an  
> absolute library path to #lookup:inLibrary:, I saw the following in  
> debug logs:
>
>> 9/8/09 7:41:00 AM	[0x0-0x9ce9ce].org.squeak.Squeak[59719]	 
>> tryLoading /Applications/Squeak/Squeak 4.2.1beta1U.app/Contents/ 
>> Resources//opt/local/lib/libcairo.dylib.bundle/Contents/MacOS//opt/ 
>> local/lib/libcairo.dylib
>>
>> 9/8/09 7:41:00 AM	[0x0-0x9ce9ce].org.squeak.Squeak[59719]	 
>> tryLoading /Applications/Squeak/Squeak 4.2.1beta1U.app/Contents/ 
>> Resources//opt/local/lib/libcairo.dylib
>>
>> 9/8/09 7:41:00 AM	[0x0-0x9ce9ce].org.squeak.Squeak[59719]	 
>> tryLoading /Applications/Squeak/Plugins//opt/local/lib/ 
>> libcairo.dylib.bundle/Contents/MacOS//opt/local/lib/libcairo.dylib
>>
>> 9/8/09 7:41:00 AM	[0x0-0x9ce9ce].org.squeak.Squeak[59719]	 
>> tryLoading /Applications/Squeak/Plugins//opt/local/lib/libcairo.dylib
>
> I understand the utility of being able to pass multi-part path names  
> in here, but it seems like a leading slash on the filename should be  
> interpreted by the primitive as an absolute path.
>
> --
> Ken Treis
> Miriam Technologies, Inc.
>

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






More information about the Vm-dev mailing list