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: 3590 Reporter: administrator Status: acknowledged Resolution: open Priority: normal Severity: feature Category: compiler driver
Bug description
Hello,
On utilise souvent une règle spécifique dans les Makefile pour compiler
des version de profiling .p.cmx:
.ml.p.cmx:
ocamlopt -p -c -o $*.p.cmx $<
Si l'on veut ensuite packer les .p.cmx obtenus, il y a un problème:
ocamlopt -pack cherche les fichiers *.p.cmi. Si on les créé par copie
des *.cmi, ça échoue parce que le nom de l'unité ne correspond pas au
nom du module. Comment faire ?
Une solution ad-hoc serait de faire qu'ocamlopt cherche X.cmi lorsque
X.p.cmi n'existe pas et qu'il en a besoin.
-- Alain
The text was updated successfully, but these errors were encountered:
This issue has been open one year with no activity. Consequently, it is being marked with the "stale" label. What this means is that the issue will be automatically closed in 30 days unless more comments are added or the "stale" label is removed. Comments that provide new information on the issue are especially welcome: is it still reproducible? did it appear in other contexts? how critical is it? etc.
Original bug ID: 3590
Reporter: administrator
Status: acknowledged
Resolution: open
Priority: normal
Severity: feature
Category: compiler driver
Bug description
Hello,
On utilise souvent une règle spécifique dans les Makefile pour compiler
des version de profiling .p.cmx:
.ml.p.cmx:$*.p.cmx $ <
ocamlopt -p -c -o
Si l'on veut ensuite packer les .p.cmx obtenus, il y a un problème:
ocamlopt -pack cherche les fichiers *.p.cmi. Si on les créé par copie
des *.cmi, ça échoue parce que le nom de l'unité ne correspond pas au
nom du module. Comment faire ?
Une solution ad-hoc serait de faire qu'ocamlopt cherche X.cmi lorsque
X.p.cmi n'existe pas et qu'il en a besoin.
-- Alain
The text was updated successfully, but these errors were encountered: