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 TAA29544; Tue, 22 Oct 2002 19:11:42 +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 TAA29478 for ; Tue, 22 Oct 2002 19:11:41 +0200 (MET DST) Received: from relay.pair.com (relay1.pair.com [209.68.1.20]) by nez-perce.inria.fr (8.11.1/8.11.1) with SMTP id g9MHBeD13399 for ; Tue, 22 Oct 2002 19:11:40 +0200 (MET DST) Received: (qmail 84882 invoked from network); 22 Oct 2002 17:11:38 -0000 Received: from adsl-host-sf-228.apexworld.net (HELO checkerlap.d6.com) (66.114.212.228) by relay1.pair.com with SMTP; 22 Oct 2002 17:11:38 -0000 X-pair-Authenticated: 66.114.212.228 Message-Id: <4.3.2.7.2.20021022100613.0361b968@mail.d6.com> X-Sender: checker@mail.d6.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Tue, 22 Oct 2002 10:12:05 -0700 To: Xavier Leroy From: Chris Hecker Subject: Re: [Caml-list] Error during partial linking Cc: Yang Shouxun , caml-list@inria.fr In-Reply-To: <20021022190056.A28301@pauillac.inria.fr> References: <4.3.2.7.2.20021022090136.035ec2f8@mail.d6.com> <20021022104215.A9456@pauillac.inria.fr> <200210221333.36858.yangsx@fltrp.com> <20021022104215.A9456@pauillac.inria.fr> <200210221737.56370.yangsx@fltrp.com> <4.3.2.7.2.20021022090136.035ec2f8@mail.d6.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > > >Error during partial linking > > I think this is the command line length limit problem, for which there > is a > > FIXME comment in the asmcomp/asmpackager.ml. >This is also my guess, although I was expecting an error message to be >printed by the shell (but then it's perhaps system() itself that >fails). Yes, it failed anonymously for me as well (on freebsd, when I was testing my win32 patch...this is a reminder to reply to my mail to you about that, too :). >I'll fix this length limit issue soon in the CVS version. >Too bad objcopy cannot take its symbol redefinitions from a file... Yep, all programs should be able to take a response file for arguments. >Coming back to your initial desire to "pack" Baire (if I may say so), >I would very strong advise Diego to name his "List" module something >else, to avoid conflict with the standard library module of the same >name. The hypothesis that compilation units are identified by unique >names is really essential to the way the OCaml compilers work. I know >it's sometimes an annoyance (all cool names are already taken by the >standard lib :-), but you're really going to run into trouble with >name conflicts. We just need to pack the standard library and be done with it, and then it will finally liberate all of those common names for user programs! It's the Right Thing. :) Hmm, now that I think about it, the native code pack could just shove any dependent C obj/lib files into the packed object as well, truly doing away with any external files. Maybe it already does this... Chris ------------------- 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