caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Jeremy Fincher" <tweedgeezer@hotmail.com>
To: caml-list@pauillac.inria.fr
Subject: Re: [Caml-list] Building O'Caml projects properly.
Date: Mon, 01 Oct 2001 10:02:10 -0400	[thread overview]
Message-ID: <F16UhH9Yu8GSiOA6hIn0000f73e@hotmail.com> (raw)

> > Actually, it might be the difference in default behavior of the
> > `install' command. On my MacOS X, it moves the files by default,
> > where on my Linux box, they get copied.
>
>Ah, ok, I didn't expect that there are versions of the install command
>that actually move files by default (what a horrible idea!).
>
> > Adding `-c' option to the install command in OcamlMakefile would do
> > the trick I think.
>
>Since I don't have access to any MacOS-box, I can only trust you here.
>I have added this flag now and hope that this fixes this problem with
>exotic "install"-implementations.

I just checked the manpage for install on my box, and it's true -- -c
copies the file, instead of the default behavior which is to remove the
original file after creating the target.

This is a FreeBSD 4.3 box.  I think it's a peculiarity of the BSD
"install", since it's not localized to MacOS X.

Are there any known workarounds with the current OcamlMakefile, or will
there be a new version released shortly that compensates for this?

Also, you mentioned in your other email that I need to make a "real
library" out of my py_string.ml{,i} files.  Here's the exact Makefile
I'm using for that set of modules:

------------------
OCAMLMAKEFILE = ../../OcamlMakefile

SOURCES = py_string.ml py_os.ml py_fnmatch.ml py_glob.ml py_time.ml 
py_socket.ml py_asyncore.ml py_asynchat.ml
RESULT = a.out
LIBS = unix pcre
LIBDIRS = ../../lib
INCDIRS = ../../lib
LIBINSTALL_FILES = *.mli *.cmi *.cma *.cmo *.cmx *.cmxa *.a *.o
OCAML_LIB_INSTALL = ../../lib

all:	byte-code-library native-code-library

-include $(OCAMLMAKEFILE)
------------------

What do I need to add to make it compile a real library?

Thanks,
Jeremy


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

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


             reply	other threads:[~2001-10-01 14:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-01 14:02 Jeremy Fincher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-10-01 11:46 Jeremy Fincher
2001-10-01 12:57 ` Markus Mottl
2001-10-01 13:08   ` Hideo Bannai
2001-10-01 13:47     ` Markus Mottl
2001-10-01 15:17       ` Julian Assange
2001-10-01  7:04 Jeremy Fincher
2001-10-01  8:07 ` Markus Mottl
2001-09-29 20:31 Jeremy Fincher
2001-09-29 21:48 ` Julian Assange
2001-09-29 22:08 ` Markus Mottl

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=F16UhH9Yu8GSiOA6hIn0000f73e@hotmail.com \
    --to=tweedgeezer@hotmail.com \
    --cc=caml-list@pauillac.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;
as well as URLs for NNTP newsgroup(s).