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: 2270 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Hello,
Deux choses:
"ocamlc -a" demande obligatoirement de spécifier
le fichier résultat (-o ...). Le manuel indique que le nom
par défaut est library.cma. Idem avec ocamlopt.
il est possible d'inclure des bibliothèques dans des bibliothèques
avec ocamlc:
ocamlc -a -o bla.cma unix.cma
Mais pas avec ocamlopt:
ocamlopt -a -o bla.cmxa unix.cmxa
=====>
/home/frisch/godi/lib/ocaml/std-lib/unix.cmxa
is not a compilation unit description.
Est-ce normal ?
-- Alain
The text was updated successfully, but these errors were encountered:
"ocamlc -a" demande obligatoirement de spécifier
le fichier résultat (-o ...). Le manuel indique que le nom
par défaut est library.cma. Idem avec ocamlopt.
C'est fixe dans la version de travail.
il est possible d'inclure des bibliothèques dans des bibliothèques
avec ocamlc:
Mais pas avec ocamlopt:
Est-ce normal ?
Oui car ocamlopt repose sur les outils unix (ld et ar) et ar ne sait pas
inclure une archive dans une autre.
Original bug ID: 2270
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Hello,
Deux choses:
"ocamlc -a" demande obligatoirement de spécifier
le fichier résultat (-o ...). Le manuel indique que le nom
par défaut est library.cma. Idem avec ocamlopt.
il est possible d'inclure des bibliothèques dans des bibliothèques
avec ocamlc:
ocamlc -a -o bla.cma unix.cma
Mais pas avec ocamlopt:
ocamlopt -a -o bla.cmxa unix.cmxa
=====>
/home/frisch/godi/lib/ocaml/std-lib/unix.cmxa
is not a compilation unit description.
Est-ce normal ?
-- Alain
The text was updated successfully, but these errors were encountered: