This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: state of play/strategy for including Modula-2 into the trunk (licence queries)
- From: Florian Weimer <fweimer at redhat dot com>
- To: Gaius Mulley <gaius dot mulley at southwales dot ac dot uk>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Tue, 01 Oct 2019 14:40:54 +0200
- Subject: Re: state of play/strategy for including Modula-2 into the trunk (licence queries)
- References: <878sq5ybp3.fsf@j228-gm.comp.glam.ac.uk> <87blv0vggz.fsf@oldenburg2.str.redhat.com> <87imp8ejle.fsf@j228-gm.comp.glam.ac.uk>
* Gaius Mulley:
>> The question is whether this is really necessary. Obviously, there is
>> no requirement to ship all supporting code under the GPL version 3 or
>> later for GCC. See the libffi subdirectory, which has its own
>> license.
>
> sure I think it is looking sensible to stop using libpth. gm2 only
> needs the two basic primitives create a context and switch to a context
> in any case. Furthermore it only needs these if the user wants
> coroutines. For most Modula-2 programs it isn't required.
One possibility would be to have an implementation based on the
libgcc/gthr.h abstraction. It would not be very efficient if the user
is looking for coroutines, but it would avoid a dependency on yet
another thread library.
Thanks,
Florian