You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 872 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Hello,
unfortunately, it is not possible to pass any kind of option to the linker
when using ocamlmklib. E.g., I would like to be able to do the following:
But the "-mimpure-text"-function is not passed on. This prevents me
from linking this example in shared mode under Solaris due to some
platform-dependent peculiarities. Of course, I can always link things
explicitly, but it would be nice if ocamlmklib supported this option in
its full generality.
This is indeed a problem.
I've just added a -ldopt option to ocamlmklib. This is to emphasize the fact
that this option is only passed to the shared librarian, while other options are
passed to ocamlc also.
This is only intended for very specific options, since more usual ones as
"-rdynamic" or "-pthread" are useless here.
Original bug ID: 872
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Hello,
unfortunately, it is not possible to pass any kind of option to the linker
when using ocamlmklib. E.g., I would like to be able to do the following:
ocamlmklib -Wl,-mimpure-text -o pcre pcre.cmo pcre.cmx pcre_intf.o -lpcre -L.
But the "-mimpure-text"-function is not passed on. This prevents me
from linking this example in shared mode under Solaris due to some
platform-dependent peculiarities. Of course, I can always link things
explicitly, but it would be nice if ocamlmklib supported this option in
its full generality.
Regards,
Markus Mottl
--
Markus Mottl markus@oefai.at
Austrian Research Institute
for Artificial Intelligence http://www.oefai.at/~markus
The text was updated successfully, but these errors were encountered: