[mercury-users] shared libraries

Michael Day mikeday at corplink.com.au
Thu Nov 30 10:12:34 AEDT 2000


When linking a Mercury program with an external C library, the Mercury
linker always tries to link with the static version of the library rather
than the shared. ie, if libfoo.a and libfoo.so are both available, it
tries to link with libfoo.a. If libfoo.a is not present, it can't seem to
see libfoo.so at all. (This being on Linux).

Is my system just configured badly with regards to shared libraries, or is
there some flag I need to pass to Mercury to get it to link with them?

Michael

--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list