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 RAA16849; Wed, 16 Jan 2002 17:52:11 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA16323 for ; Wed, 16 Jan 2002 17:52:10 +0100 (MET) Received: from leia.mandrakesoft.com (office.mandrakesoft.com [195.68.114.34]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g0GGqAv05414; Wed, 16 Jan 2002 17:52:10 +0100 (MET) Received: by leia.mandrakesoft.com (Postfix, from userid 505) id 2892C591D; Wed, 16 Jan 2002 17:53:02 +0100 (CET) To: Xavier Leroy Cc: caml-list@inria.fr Subject: Re: [Caml-list] -thread and ocamlc vs ocamlc.opt References: <20020116170335.B13963@pauillac.inria.fr> From: Pixel Date: 16 Jan 2002 17:53:02 +0100 In-Reply-To: <20020116170335.B13963@pauillac.inria.fr> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Xavier Leroy writes: [...] > > I've been trying to reduce the size of the ocaml rpm which is getting quite > > huge (27MB), and doing > > for i in /usr/bin/*.opt ; do > > ln -s `basename $i` `echo $i | sed "s/.opt$//"` > > done > > helps! > > Frankly, I would rather remove the .opt compilers from the RPM, rather > than remove the non-.opt compilers. ?? switching from non-.opt to .opt makes some impressive speed-ups (x2) when compiling. > > Concerning the RPM size, several things should be noted (with tongue > in cheek): > > - If you had one package with gcc, gdb, libc and assorted goodies, it > would be even larger the main difference is that not many people would remark if ocaml was not included ;p > - Mandrake contains even larger packages of even more dubious utility > than OCaml trolls, trolls, vive les trolls :) > - It is certainly possible to split it into different packages, if you > think not all users will need everything done > - Mandrake could always switch to DVDs as their distribution format :-) expensive, hard to test, many packages to maintain is costly... > > > - should threads.cmxa be included somehow/somewhere? The doc says > > ocamlopt -thread other options threads.cmxa other files > > is that wrong? > > It also says you have to configure with POSIX threads for this to work. > The reason this is not the default configuration is that you need to > trust your POSIX thread implementation and have a good understanding > of its limitations (slower thread creation, fewer max threads allowed). > My experience as the initial developer of LinuxThreads suggest that > these conditions are not often met... i don't know much about this. Are these conditions met under linux? thanks! -- Pixel programming languages addict http://merd.net/pixel/language-study/ ------------------- 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