Fwd: IA32ABI plugin and absolute library paths

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

Fwd: IA32ABI plugin and absolute library paths

johnmci
 
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 <[hidden email]>
> Date: September 9, 2009 8:45:55 AM PDT
> To: John McIntosh <[hidden email]>
> 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 <[hidden email]>   Twitter:  
squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================




Reply | Threaded
Open this post in threaded view
|

Re: Fwd: IA32ABI plugin and absolute library paths

Bert Freudenberg
 
On 23.09.2009, at 02:05, John M McIntosh wrote:
> 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?


The other platforms allow this, so, yes.

- Bert -