Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problème configuration de caml 3.0 avec les threads natifs. #2608

Closed
vicuna opened this issue Nov 10, 2000 · 1 comment
Closed

Problème configuration de caml 3.0 avec les threads natifs. #2608

vicuna opened this issue Nov 10, 2000 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Nov 10, 2000

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 |

@vicuna
Copy link
Author

vicuna commented Jan 12, 2001

Comment author: administrator

Fixed 2000-04-27 by Xavier (otherlibs/systhreads/Makefile)

@vicuna vicuna closed this as completed Jan 12, 2001
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant