From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 927F9BD04 for ; Thu, 18 Nov 2010 14:04:26 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkACABlo5EzUGyoFkWdsb2JhbACUUo4BFQEBAQEJCwoHEQMfvQmFSwSNcQ8 X-IronPort-AV: E=Sophos;i="4.59,216,1288566000"; d="scan'208";a="88276323" Received: from smtp5-g21.free.fr ([212.27.42.5]) by mail1-smtp-roc.national.inria.fr with ESMTP; 18 Nov 2010 08:44:50 +0100 Received: from yeeloong (unknown [82.67.194.89]) by smtp5-g21.free.fr (Postfix) with SMTP id 3652CD480FD for ; Thu, 18 Nov 2010 08:44:42 +0100 (CET) Received: by yeeloong (sSMTP sendmail emulation); Thu, 18 Nov 2010 08:43:28 +0100 Date: Thu, 18 Nov 2010 08:43:28 +0100 From: rixed@happyleptic.org To: caml-list@inria.fr Subject: help with ocaml makefiles Message-ID: <20101118074328.GA17295@yeeloong> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam: no; 0.00; ocaml:01 makefiles:01 ocaml:01 runtime:01 recompile:01 makefiles:01 byterun:01 makefile:01 compile:01 suffix:02 debugging:03 debug:05 standard:07 suppose:09 rules:11 Each time I need more debug information for the ocaml runtime itself (which hopefully is not often) I recompile Ocaml adding various "-g" and "-O0" here and there in some makefiles. But I've noticed there are some special targets and rules, specifically in byterun/Makefile, that seams to be there for that very purpose (the suffix rules for .d.c extention). So I suppose there is a standard way to compile ocaml in debugging mode. Do someone have some knowledge to share about this ?