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: 4621 Reporter: spiralvoice Status: closed (set by @xavierleroy on 2008-10-15T08:49:45Z) Resolution: fixed Priority: normal Severity: major Version: 3.11+dev Category: ~DO NOT USE (was: OCaml general)
It leads to linking problems with C++ code.
Using the same command with Ocaml 3.10.2 works.
Additional information
ocamlopt.opt -v
The Objective Caml native-code compiler, version 3.11+dev20 Private_abbrevs+natdynlink+lazy_patterns+fscanf debug (2008-10-08)
Standard library directory: /usr/local/lib/ocaml
The text was updated successfully, but these errors were encountered:
Original bug ID: 4621
Reporter: spiralvoice
Status: closed (set by @xavierleroy on 2008-10-15T08:49:45Z)
Resolution: fixed
Priority: normal
Severity: major
Version: 3.11+dev
Category: ~DO NOT USE (was: OCaml general)
Bug description
Here is the command line of ocamlopt.opt
ocamlopt.opt -inline 10 -verbose -linkall -o mlnet
bigarray.cmxa unix.cmxa str.cmxa -ccopt " " -cclib "-lz " -cclib -lbz2 -ccopt "-pthread"
-cclib "-lgd -ljpeg -lfreetype -lpng12 -lz -lm" -ccopt "-L/usr/lib"
-cc 'g++' -ccopt '-g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer'
-cclib -lmagic
-I build build/cdk.cmxa build/magic.cmxa build/common.cmxa build/client.cmxa build/core.cmxa build/driver.cmxa src/daemon/common/commonMain.cmx
which results into these calls:
It leads to linking problems with C++ code.
Using the same command with Ocaml 3.10.2 works.
Additional information
ocamlopt.opt -v
The Objective Caml native-code compiler, version 3.11+dev20 Private_abbrevs+natdynlink+lazy_patterns+fscanf debug (2008-10-08)
Standard library directory: /usr/local/lib/ocaml
The text was updated successfully, but these errors were encountered: