Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Completeness of "Unix" run-time library
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Issac Trotts <ijtrotts@u...>
Subject: Re: OCaml's Cathedral & Bazaar (was Re: [Caml-list] Completeness of "Unix" run-time library)
On Fri, Mar 19, 2004 at 11:49:12AM +0000, Benjamin Geer wrote:
> Sven Luther wrote:
> >I am not entirely sure, but since i distribute the patched ocaml in
> >debian, and there has been no problem with that, i think there is some
> >horrible confusion going on here.
> 
> The QPL says:
> 
>     You may make modifications to the Software and
>     distribute your modifications, in a form that is
>     separate from the Software, such as patches.
> 
> This means that you cannot distribute modified compiler source code; you 
> can only distribute patches.  Someone who wants to use your modified 
> compiler is therefore forced to install the standard compiler, then 
> apply your patch.

After taking the time to modify the compiler, it's probably not too hard
to write a little script that automates the process of applying a patch,
something like this:

#/bin/sh
wget -c http://mallorn.ucdavis.edu/~ijtrotts/software/ocaml-install.sh
bash ./ocaml-install.sh   # Get GODI and run it.
cd $wherever_the_ocaml_source_is/..
wget -c http://www.foo.com/my_patch
patch -p0 < my_patch
cd $wherever_the_ocaml_source_is
./configure && make world && make opt && make install

Anyway, in the case when you want to have more than one set of changes
to the compiler, patches would be more convenient than getting source
tarballs, extracting patches yourself, and then applying them.

-- 
Issac Trotts
http://mallorn.ucdavis.edu/~ijtrotts
(w) 530-757-8789

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners