From: Chris T. <ch...@m-...> - 2003-06-16 15:06:17
|
On Monday, June 16, 2003, at 06:14 AM, ibotty wrote: > thx for helping me, >> What dyld function does osx_mf_objc_symbol_to_obj call? > > it is: > sym = NSLookupAndBindSymbol( blah ) > addr = NSAddressOfSymbol( sym ); > > i can now (vaguely) see what it will/should do. but i cannot see, how > i may > map this to the gnu runtime... I'm not an expert on "standard" *nix dynamic runtime stuff, but I think this maps to: void * executable_handle = dlopen("path/to/executable"); void * symbol_address = dlsym(executable_handle, blah); dlclose(executable_handle); on most GNUstep-supported platforms. man dlopen may be a good starting point. >> (Also, have you taken a look at RIGS?) > > yep, i did, even used it ;) > unfortunately, it cannot deal with nib/gorm files. > additionally, you cannot program the main app in obj-c and one plugin > in > ruby... > it simply cannot (correctly) propagate a ruby-method to obj-c. Ah, I didn't know about those limitations. Chris |