This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2 2/2] guile: Compile and install Scheme files


On 07/27/2014 05:22 AM, Doug Evans wrote:
> +dnl GDB_TRY_GUILD([SRC-FILE])
> +dnl
> +dnl We precompile the .scm files and install them with gdb, so make sure
> +dnl guild works for this host.
> +dnl The .scm files are precompiled for several reasons:
> +dnl 1) To silence Guile during gdb startup (Guile's auto-compilation output
> +dnl    is unnecessarily verbose).
> +dnl 2) Make gdb developers see compilation errors/warnings during the build,
> +dnl    and not leave it to later when the user runs gdb.
> +dnl 3) As a convenience for the user, so that one copy of the files is built
> +dnl    instead of one copy per user.
> +dnl

Perfect, thanks!  It's now crystal clear how this is indeed very
useful, to a passerby reader like me.

-- 
Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]