Simon Marlow wrote:

> Incidentally, why are the -Wl,-R<dir> options needed?  I've never come
> across that before, usually the runtime linker just finds the libraries
> in the place they were originally linked from.

The runtime linker will use the first matching library it finds, which
isn't necessarily the same one that was used in the linking step. The
-R switch will cause the runtime linker to search specified directory
before the "normal" library directories (e.g. /usr/lib).

-- 
Glynn Clements <[EMAIL PROTECTED]>
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to