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
Not sure what the most logical behavior is. One could argue that -output-obj
just links the Caml code; everything else can be linked later. In doubt, I'll
leave it as it is now. -XL, 2003-08-26
Original bug ID: 1791
Reporter: administrator
Status: closed
Resolution: won't fix
Priority: normal
Severity: feature
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Trevor Jim
Version: 3.06
OS: OS X
Submission from: targe.cs.princeton.edu (128.112.139.194)
I don't know if you'll consider this a bug, but it seems perhaps inconsistent.
If I do
ocamlopt -output-obj -o foo.o [lots of .cmx files] pty.c
then ocamlopt compiles pty.c to pty.o, but does not link pty.o into foo.o.
I was expecting it to do so because something like
ocamlopt -o bar [lots of .cmx files] pty.c
compiles pty.c to pty.o and links pty.o into bar.
These commands are similar (both are combining binaries) so I expected
similar conventions.
The text was updated successfully, but these errors were encountered: