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: 5207 Reporter: ofalk Status: closed (set by @damiendoligez on 2011-01-21T13:21:03Z) Resolution: fixed Priority: normal Severity: trivial Version: 3.11.0 Fixed in version: 3.12.0 Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues Duplicate of:#4971
Bug description
While trying to compile ocaml 3.11.0 (and even later) it spots a syntax error in line 211.
The actual code:
let assemble_file infile outfile =
let as_cmd =
if digital_asm && !Clflags.gprofile
then Config.as ^ " -pg"
else Config.as in
Ccomp.command (as_cmd ^ " -o " ^
Filename.quote outfile ^ " " ^ Filename.quote infile)
So something is wrong with this line: then Config.as ^ " -pg"
I'm not a ocaml guy... I'm just trying to compile it... But I guess there's something wrong with the quoting...
Original bug ID: 5207
Reporter: ofalk
Status: closed (set by @damiendoligez on 2011-01-21T13:21:03Z)
Resolution: fixed
Priority: normal
Severity: trivial
Version: 3.11.0
Fixed in version: 3.12.0
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues
Duplicate of: #4971
Bug description
While trying to compile ocaml 3.11.0 (and even later) it spots a syntax error in line 211.
The actual code:
let assemble_file infile outfile =
let as_cmd =
if digital_asm && !Clflags.gprofile
then Config.as ^ " -pg"
else Config.as in
Ccomp.command (as_cmd ^ " -o " ^
Filename.quote outfile ^ " " ^ Filename.quote infile)
So something is wrong with this line: then Config.as ^ " -pg"
I'm not a ocaml guy... I'm just trying to compile it... But I guess there's something wrong with the quoting...
Replacing the code with:
let assemble_file infile outfile =
Ccomp.command (Config.asm ^ " -o " ^ Filename.quote outfile ^ " " ^ Filename.quote infile)
seems to work fine.
The text was updated successfully, but these errors were encountered: