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: 3587 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Hi !
When asking ocamlopt(.opt) to compile a library (option -a)
the program creates usually two files : toto.cmxa and toto.a.
But if after the -o option, one does put another extension, like
what I did (I put libcaml.a), the compiler creates libcaml.a and the second
file is named libc.a (it removes the three last letters of the
basename). Basically, in this particular case, nobody wants this
(because libc.a is certainly not the name you want for any archive
and the cc linker was completely confused). It would be better
if the compiler would type a warning message out stating that something
suspect happened.
Yours faithfully
Vincent Rossetto
The text was updated successfully, but these errors were encountered:
Original bug ID: 3587
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Vincent Rossetto
Version: ocaml 3.08.3
OS: Debian GNU/Linux
Submission from: dhcp15.mpipks-dresden.mpg.de (193.174.246.175)
Hi !
When asking ocamlopt(.opt) to compile a library (option -a)
the program creates usually two files : toto.cmxa and toto.a.
But if after the -o option, one does put another extension, like
what I did (I put libcaml.a), the compiler creates libcaml.a and the second
file is named libc.a (it removes the three last letters of the
basename). Basically, in this particular case, nobody wants this
(because libc.a is certainly not the name you want for any archive
and the cc linker was completely confused). It would be better
if the compiler would type a warning message out stating that something
suspect happened.
Yours faithfully
Vincent Rossetto
The text was updated successfully, but these errors were encountered: