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 KAA01385; Sat, 8 May 2004 10:56:58 +0200 (MET DST) 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 KAA00845 for ; Sat, 8 May 2004 10:56:57 +0200 (MET DST) Received: from aomori.annexia.org (annexia.force9.co.uk [212.56.101.183]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i488utEV007762 for ; Sat, 8 May 2004 10:56:56 +0200 Received: from rich by aomori.annexia.org with local (Exim 3.36 #1 (Debian)) id 1BMNde-000175-00 for ; Sat, 08 May 2004 09:56:54 +0100 Date: Sat, 8 May 2004 09:56:54 +0100 Cc: caml-list Subject: Re: [Caml-list] ocamldep Message-ID: <20040508085654.GA4065@redhat.com> References: <1083987419.2557.344.camel@pelican.wigram> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1083987419.2557.344.camel@pelican.wigram> User-Agent: Mutt/1.5.5.1+cvs20040105i From: Richard Jones X-Miltered: at nez-perce with ID 409CA0D7.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 ocamldep:01 2004:99 ocamldep:01 tsort:01 vectors:01 hashes:01 funcs:01 allocator:01 ltd:98 cmxa:01 ocaml:01 lib:01 lib:01 string:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Sat, May 08, 2004 at 01:37:00PM +1000, skaller wrote: > Any chance of a -S option on ocamldep > which generates a list topologically sorted > files? > > Or a script (ocaml, perl, whatever) that takes > ocamldep output and does so? > > I'm having trouble building a .cmxa library. > I can't sort ocamldep output in my head.. :) Suggestion: post-process the output of ocamldep with sed (to remove the ':') and tsort (to generate the topologically sorted list). Rich. -- Richard Jones. http://www.annexia.org/ http://www.j-london.com/ Merjis Ltd. http://www.merjis.com/ - improving website return on investment C2LIB is a library of basic Perl/STL-like types for C. Vectors, hashes, trees, string funcs, pool allocator: http://www.annexia.org/freeware/c2lib/ ------------------- 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