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 SAA09424; Sat, 24 Apr 2004 18:53:31 +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 SAA09449 for ; Sat, 24 Apr 2004 18:53:30 +0200 (MET DST) Received: from biscayne-one-station.mit.edu (BISCAYNE-ONE-STATION.MIT.EDU [18.7.7.80]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i3OGrSYM024200 for ; Sat, 24 Apr 2004 18:53:29 +0200 Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86]) by biscayne-one-station.mit.edu (8.12.4/8.9.2) with ESMTP id i3OGrR2p008812 for ; Sat, 24 Apr 2004 12:53:28 -0400 (EDT) Received: from psi-phi.mit.edu (PSI-PHI.MIT.EDU [18.187.1.35]) (authenticated bits=56) (User authenticated as jfc@ATHENA.MIT.EDU) by melbourne-city-street.mit.edu (8.12.4/8.12.4) with ESMTP id i3OGrQAf013712 for ; Sat, 24 Apr 2004 12:53:26 -0400 (EDT) Received: (from jfc@localhost) by psi-phi.mit.edu (8.12.9) id i3OGrQdl017392; Sat, 24 Apr 2004 12:53:26 -0400 Message-Id: <200404241653.i3OGrQdl017392@psi-phi.mit.edu> To: caml-list@inria.fr Subject: Re: [Caml-list] ocamlopt -pack portability In-Reply-To: Your message of "Sat, 24 Apr 2004 12:31:06 +0200." <20040424103106.GD1336@first.in-berlin.de> Date: Sat, 24 Apr 2004 12:53:26 -0400 From: John Carr X-Miltered: at concorde by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 ocamlopt:01 -pack:01 jfc:01 binutils:01 renaming:01 asmpackager:01 c-program:01 ocaml:01 wrote:03 library:03 portability:03 carr:05 uses:06 send:93 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > > I consider > > binutils to be too large a package to justify installing for such a > > minor feature so I wrote a C program to do the symbol renaming. (Send > > me email if you want it. It uses libelf and I have only tested it on > > Solaris. You also need a minor change to Asmpackager.extract_symbols > > to work with Solaris nm.) > > Why a C-Program and not an Ocaml-program? Solaris has a C library to manipulate ELF files and I knew how to use it. Writing a similar program in ocaml would have taken more time. ------------------- 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