[PATCH] Simplify definition of GUILE

Tom Tromey tom@tromey.com
Sat Aug 26 19:09:29 GMT 2023


>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:

Tom> This patch sets GUILE to just plain 'guile'.
Tom> In the distant ("devo") past, the top-level build did support building
Tom> Guile in-tree.  However, I don't think this really works any more.
Tom> For one thing, there are no build dependencies on it, so there's no
Tom> guarantee it would actually be built before the uses.

Tom> This patch also removes the use of "-s" as an option to cgen scheme
Tom> scripts.  With my latest patch upstream, this is no longer needed.

Tom> After the upstream changes, either Guile 2 or Guile 3 will work, with
Tom> or without the compiler enabled.

Alan OK'd the opcodes part of this, so I wrote a ChangeLog entry for
that, and I'm going to push the whole patch now.

To recap the current state -- cgen works with guile 2 and guile 3 now.
You can use the guile compiler, which speeds things up quite a bit; just
ignore all the warnings.

Tom


More information about the Gdb-patches mailing list