> Marcin just pointed out that you can use dlopen() in a way > that it finds symbols without a library name. That should > do, I think. Note that finding a marginally easier way to do the lookup doesn't address my concern that this undirected search will cause maintenance and porting problems by worsening an already bad situation (just which library did Linux/solaris/freebsd/hpux/redhat6.0/redhat7.0/... choose to hide a symbol in). In fact, I expect that having dlopen do a search through the libraries that it thinks are relevant instead of Hugs performing a search through the list of libraries that it knows to be relevant probably makes things worse because it increases the gap between the programmer's mental model and what actually happens. Alastair ps dlopen is not completely portable - Hugs also uses shl_{load,findsym} (HPUX only?) and {LoadLibrary, GetProcAddress} (Win32). _______________________________________________ FFI mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/ffi
- Summary of current change suggestions malcolm-ffi
- Re: Summary of current change suggestions Marcin 'Qrczak' Kowalczyk
- Re: Summary of current change suggestions Manuel M. T. Chakravarty
- Re: Summary of current change suggestio... Marcin 'Qrczak' Kowalczyk
- RE: Summary of current change suggestio... Alastair Reid
- RE: Summary of current change sugge... Manuel M. T. Chakravarty
- Re: Summary of current change s... Alastair Reid
- Re: Summary of current cha... Marcin 'Qrczak' Kowalczyk
- RE: Summary of current cha... Manuel M. T. Chakravarty
- RE: Summary of current change suggestio... Alastair Reid
- RE: Summary of current change sugge... Manuel M. T. Chakravarty
- Re: Summary of current change sugge... Marcin 'Qrczak' Kowalczyk
- RE: Summary of current change suggestions Simon Marlow
- RE: Summary of current change suggestio... Manuel M. T. Chakravarty
- RE: Summary of current change suggestio... Alastair Reid
- RE: Summary of current change sugge... Manuel M. T. Chakravarty
- RE: Summary of current change suggestions Simon Peyton-Jones