From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA00147; Mon, 1 Oct 2001 16:02:13 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA00129 for ; Mon, 1 Oct 2001 16:02:12 +0200 (MET DST) Received: from hotmail.com (f16.law15.hotmail.com [64.4.23.16]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f91E2Br22453 for ; Mon, 1 Oct 2001 16:02:12 +0200 (MET DST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 1 Oct 2001 07:02:10 -0700 Received: from 164.107.3.52 by lw15fd.law15.hotmail.msn.com with HTTP; Mon, 01 Oct 2001 14:02:10 GMT X-Originating-IP: [164.107.3.52] From: "Jeremy Fincher" To: caml-list@pauillac.inria.fr Subject: Re: [Caml-list] Building O'Caml projects properly. Date: Mon, 01 Oct 2001 10:02:10 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 01 Oct 2001 14:02:10.0575 (UTC) FILETIME=[A9F559F0:01C14A81] Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > > 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