From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 0412FBB91 for ; Thu, 27 Jan 2005 11:31:04 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j0RAV3Ml009686 for ; Thu, 27 Jan 2005 11:31:03 +0100 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 LAA16061 for ; Thu, 27 Jan 2005 11:31:03 +0100 (MET) Received: from [IPv6:::1] (yquem.inria.fr [128.93.8.37]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j0RAV2iO009683 for ; Thu, 27 Jan 2005 11:31:03 +0100 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <200501271116.40676.micha-1@fantasymail.de> References: <200501271116.40676.micha-1@fantasymail.de> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <8AD11A63-704E-11D9-9012-000D9345235C@inria.fr> Content-Transfer-Encoding: 7bit From: Damien Doligez Subject: Re: [Caml-list] compiling error... Date: Thu, 27 Jan 2005 11:31:02 +0100 To: caml users X-Mailer: Apple Mail (2.619) X-Miltered: at nez-perce with ID 41F8C2E7.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 41F8C2E6.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; damien:01 damien:01 caml-list:01 wrote:01 gcc:01 -pg:01 exited:01 non-zero:01 -pg:01 asmrun:01 ...:98 doligez:01 doligez:01 incompatible:01 guess:02 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.0 X-Spam-Level: On Jan 27, 2005, at 11:16, Micha wrote: > when compiling (make opt) the ocaml-sources I get this error: > > gcc: -pg and -fomit-frame-pointer are incompatible > make[1]: *** [startup.p.o] Fehler 1 > make[1]: Leaving directory `/home/micha/src/ocaml-3.08.2/asmrun' > make: *** [runtimeopt] Fehler 2 > Command exited with non-zero status 2 > > is the -pg flag neccessary or can I remove it? Why should there be > profiling > code in asmrun? The -pg flag is rather useful for the profiling version of the library. I guess technically you could omit it, but don't complain if you can't profile your programs afterward. -- Damien