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

compiler option processing weirdness #8009

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

compiler option processing weirdness #8009

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

Comments

@vicuna
Copy link

vicuna commented Feb 6, 2003

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

Bug description

If you compile a *.cma or *.cmxa with a trailing -l at the end of the command
line, ocamlc and ocamlopt compile everything without complaining.
Only when you try to use such a library, compilation fails with the rather
cryptic error message

/usr/bin/ld: cannot find -l--library=unix

Yours, Florian Hars.

Dr. Florian Hars |
BIK ASCHPURWIS + BEHRENS GmbH | Büro, papierloses (n):
Feldbrunnenstr. 7, 20148 Hamburg | Büro, in dem große Haufen Papier
(040) 41 47 87 -21, Fax: -15 | lose herumliegen (FdI#321)

@vicuna
Copy link
Author

vicuna commented Feb 11, 2003

Comment author: administrator

C linker receives '-l' -lcamlrun and gets all confused about it. There's not
much that we can do from ocamlc/ocamlopt.

@vicuna vicuna closed this as completed Feb 11, 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