Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007677OCamldocumentationpublic2017-11-22 19:032017-11-26 17:25
Reporterdbuenzli 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusacknowledgedResolutionopen 
PlatformOSOS Version
Product Version4.06.0 
Target Version4.07.0+devFixed in Version 
Summary0007677: Clarify how `-c` and `-o` are supposed to work.
DescriptionThe release notes of 4.04.0 point to

 https://github.com/ocaml/ocaml/commit/da56cf6dfdc13c09905c2e07f1d4849c8346eec8 [^]

as explaining that. However it seems that part of this work was invalidated by:

https://github.com/ocaml/ocaml/pull/761 [^]

and nowadays trying to use `ocamlc -o DEST -c file.c` results in the following error:

  Options -c and -o are incompatible when compiling C files

It seems build systems using ocaml are doomed for life to need to move the produced `file.o` manually from the `cwd` to the desired destination directory.

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0018692)
xleroy (administrator)
2017-11-26 17:25

Yes, it's a mess. Let's try to at least agree on what behavior is intended. I'll restart the discussion at https://github.com/ocaml/ocaml/pull/761 [^]

- Issue History
Date Modified Username Field Change
2017-11-22 19:03 dbuenzli New Issue
2017-11-26 17:25 xleroy Note Added: 0018692
2017-11-26 17:25 xleroy Status new => acknowledged
2017-11-26 17:25 xleroy Target Version => 4.07.0+dev


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker