Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-I flag in ocamlc/ocamlopt #8011

Closed
vicuna opened this issue Feb 10, 2003 · 1 comment
Closed

-I flag in ocamlc/ocamlopt #8011

vicuna opened this issue Feb 10, 2003 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Feb 10, 2003

Original bug ID: 1539
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Ohad Rodeh
Version: 3.06
OS: WinXP/Linux
Submission from: nesher3.haifa.il.ibm.com (192.115.216.85)

The problem occurs when compiling an implementation file (x.ml) which has an
interface file (x.mli). The following set of steps that should work, do not.

  1. Compile x.mli and place x.cmi in /tmp
    ocamlc -c -o /tmp/x.cmi x.mli
  2. Try to compile x.ml:
    ocamlc -c -I /tmp -o /tmp/x.cmo x.mli
    The compiler complains that it cannot find x.cmi although /tmp is part of the
    include path x.cmi is in fact in /tmp/x.cmi
@vicuna
Copy link
Author

vicuna commented Mar 10, 2003

Comment author: administrator

The given example works here.

@vicuna vicuna closed this as completed Mar 10, 2003
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant