Skip to content

Clarify how -c and -o are supposed to work. #7677

@vicuna

Description

@vicuna

Original bug ID: 7677
Reporter: @dbuenzli
Status: acknowledged (set by @xavierleroy on 2017-11-26T16:25:09Z)
Resolution: open
Priority: normal
Severity: minor
Version: 4.06.0
Target version: 4.07.0+dev/beta2/rc1/rc2
Category: documentation
Monitored by: @dbuenzli @yakobowski

Bug description

The release notes of 4.04.0 point to

da56cf6

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

#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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions