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: 220 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Bonjour,
Pour linker en natif un programme avec des threads sous Linux
(2.2.17, Debian Potato), je suis obligé de faire
contrairement à ce que dit le manuel :
ocamlopt -thread threads.cmxa foo.ml
Il me semble qu'il faudrait ajouter "-cclib -lthreadsnat" dans la
variable pthread_link définie lignes 746 et 747 du script configure.
Cela vous semble-t-il correct ?
De plus si on doit vraiment toujours linker avec unix les threads en
natifs, il faudrait peut-être rectifier le manuel.
Original bug ID: 220
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Bonjour,
Pour linker en natif un programme avec des threads sous Linux
(2.2.17, Debian Potato), je suis obligé de faire
ocamlopt -thread unix.cmxa threads.cmxa foo.ml -cclib -lthreadsnat
contrairement à ce que dit le manuel :
ocamlopt -thread threads.cmxa foo.ml
Il me semble qu'il faudrait ajouter "-cclib -lthreadsnat" dans la
variable pthread_link définie lignes 746 et 747 du script configure.
Cela vous semble-t-il correct ?
De plus si on doit vraiment toujours linker avec unix les threads en
natifs, il faudrait peut-être rectifier le manuel.
En vous remerciant par avance
| Benjamin Monate | mailto:Benjamin.Monate@lri.fr |
| LRI - Bât. 490 | http://www.lri.fr/~monate/ |
| Université de Paris-Sud | phoneto: +33 1 69 15 42 32 |
| F-91405 ORSAY Cedex | faxto: +33 1 69 15 65 86 |
The text was updated successfully, but these errors were encountered: