This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] guile: Compile and install Scheme files.
- From: Doug Evans <dje at google dot com>
- To: Ludovic CourtÃs <ludo at gnu dot org>
- Cc: Pedro Alves <palves at redhat dot com>, gdb-patches <gdb-patches at sourceware dot org>, Doug Evans <xdje42 at gmail dot com>
- Date: Sat, 19 Jul 2014 15:57:08 +0100
- Subject: Re: [PATCH] guile: Compile and install Scheme files.
- Authentication-results: sourceware.org; auth=none
- References: <87bntnl0wt dot fsf at gnu dot org> <53C4F7A7 dot 9070003 at redhat dot com> <871tthh4uf dot fsf at gnu dot org>
On Sat, Jul 19, 2014 at 2:10 PM, Ludovic CourtÃs <ludo@gnu.org> wrote:
> Pedro Alves <palves@redhat.com> 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âll add a comment for that.
>
> Basically, Guile automatically compiles source files when it cannot find
> a pre-compiled file, but itâs 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.