Jorge,

Do you, maybe, have a simple example of calling a dylib that I could use as
a starting point?  I'm having a hard time getting my head around how this
works, and I don't even know if I have the gforth side setup correctly yet.
I have both a fink setup (0.5.0-2) and my own (0.6.1).

Sorry it's been so long since I've been able to get back to this.

DaR

On 3/24/03 3:45 AM, "Jorge Acereda Maci�" <[EMAIL PROTECTED]> wrote:

> 
> On Monday, March 24, 2003, at 02:43 AM, Dennis Ruffer wrote:
> 
>> Note the warnings from my capture in the previous post:
>> 
>> ./prim:2196: warning: #warning Define open-lib!
>> ./prim:2208: warning: #warning Define lib-sym!
>> 
>> I'd really appreciate it if someone who knows how would take this
>> problem on
>> before I have to figure it out myself.  I had to put the project aside
>> where
>> I needed it, but it will be back and I sure wish I knew what to do
>> about it.
>> 
> 
> Sure, I wrote an alternative dlcompat library keeping the libdl
> interface to be able to call code from .dylibs. The library turned out
> to be useful for a lot of projects. I no longer maintain it, Peter
> O'Gorman has the repository at:
> 
> http://www.opendarwin.org/projects/dlcompat/
> 
> The fink version will use dlcompat and can call code from both .so and
> .dylib.
> 
> If you want to package your own, try to install it (for instance in
> /usr/local). Or if you have fink installed, configure as: (assuming
> fink is installed at /sw)
> 
> ./configure CFLAGS="-I/sw/include -no-cpp-precomp" LDFLAGS="-L/sw/lib"
> 
> I did not test the above process, always used the fink method. Tell me
> if you have any problem with dlcompat.
> 
> Greetings,
>  Jorge
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to