From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32751 invoked by alias); 19 Jul 2014 14:57:13 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 32722 invoked by uid 89); 19 Jul 2014 14:57:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-vc0-f181.google.com Received: from mail-vc0-f181.google.com (HELO mail-vc0-f181.google.com) (209.85.220.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 19 Jul 2014 14:57:11 +0000 Received: by mail-vc0-f181.google.com with SMTP id lf12so9411824vcb.40 for ; Sat, 19 Jul 2014 07:57:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=4XA5tuHKuzh5ZIBiJCb7V/dIRODNtoudstM+HpkrWBc=; b=lNs9a/rPXzmjN5Ur6RQl1J0hhRvS55Ho0YLEm3ekbDIRHMCV/B+jKAs5hE0kVbGDkW Jl1DRZFiXwL/ny2y3Is6PTA07KdEE+05+uld6rfQL5G55FxeJpdRPcIe81q2SUDvQx0S i8TkGID0A+RaDk5KKJ4YRpz6QQGRD+FZb/py2BvsS1uow2uHM1hEOfiybrWkvvCmfdHx BuCeLW5ksYWJtln+8OeCAT3oLkn+kfNJP9hpItLTVk9IUDbeG8tkZz3o87jdTWpQnEkK bBBI0kT0EbyHTbUoHbebUPpcin2eSK9REhs+cwNyz/0unNRlXaWAPOO2h3dR5GssOS98 XyQA== X-Gm-Message-State: ALoCoQmjVodH6SeqAWUldoUuBHCnnQhfk3Fi4G1Z/SXPFV+d/2VVxrixjNt4amsL9lajhHsKm9KO MIME-Version: 1.0 X-Received: by 10.52.66.227 with SMTP id i3mr12353001vdt.48.1405781828934; Sat, 19 Jul 2014 07:57:08 -0700 (PDT) Received: by 10.52.28.233 with HTTP; Sat, 19 Jul 2014 07:57:08 -0700 (PDT) In-Reply-To: <871tthh4uf.fsf@gnu.org> References: <87bntnl0wt.fsf@gnu.org> <53C4F7A7.9070003@redhat.com> <871tthh4uf.fsf@gnu.org> Date: Sat, 19 Jul 2014 15:26:00 -0000 Message-ID: Subject: Re: [PATCH] guile: Compile and install Scheme files. From: Doug Evans To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: Pedro Alves , gdb-patches , Doug Evans Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2014-07/txt/msg00521.txt.bz2 On Sat, Jul 19, 2014 at 2:10 PM, Ludovic Court=C3=A8s wrote: > Pedro Alves skribis: > >> Can we have a a comment somewhere (either in the sources, or in >> the commit log), of _why_ we do this? E.g., is this for >> performance, or for something else? When it is safe? Etc. > > Agreed, we=E2=80=99ll add a comment for that. > > Basically, Guile automatically compiles source files when it cannot find > a pre-compiled file, but it=E2=80=99s just more convenient for the user if > compiled files are installed in the first place. I think the high order bit for the task at hand is silencing Guile when gdb starts. One hacky thought I had was redirecting stdout/err while we're initializing Guile. 1/2 :-) Long term, I think Guile changes are needed, but we need something in the interim.