From: "Marcin 'Qrczak' Kowalczyk" <qrczak@knm.org.pl>
To: caml-list@inria.fr
Subject: [Caml-list] Output directory of .cmo / .cmx / .o
Date: Wed, 14 Nov 2001 18:15:52 +0000 (UTC) [thread overview]
Message-ID: <slrn9v5d6o.46d.qrczak@qrnik.zagroda> (raw)
Running ocamlc -c dir/file.ml produces dir/file.cmo.
Running ocamlopt -c dir/file.ml produces dir/file.{cmx,o}.
Running ocaml{c,opt} -c dir/file.c produces file.o in the current
directory. It's inconsistent.
Is it possible to let the OCaml compiler let the C compiler put .o
files resulting from .c files in the same directory as their sources
if the current directory is different? -o applies only to executable
or library. I can move files by hand but perhaps it can be done better.
--
__("< Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/
\__/
^^
QRCZAK
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
next reply other threads:[~2001-11-14 18:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-14 18:15 Marcin 'Qrczak' Kowalczyk [this message]
2001-11-14 22:35 ` malc
2001-11-15 8:53 ` Sven
[not found] <9surso$q00$1@qrnik.zagroda>
2001-11-16 7:13 ` Marcin 'Qrczak' Kowalczyk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=slrn9v5d6o.46d.qrczak@qrnik.zagroda \
--to=qrczak@knm.org.pl \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox