Stefan writes:

Hi Stefan!

> Well, I reported four issues in NYACC, of which three got fixed
> upstream by Matt.

Ah, great.

> As GNU Mes is probably missing SRFI-71, I got bound
> to NYACC version 1.09.1, unfortunately.

Mes 0.27.1 builds using NYACC 2.02.2, which uses srfi-71 only in

--8<---------------cut here---------------start------------->8---
module/nyacc/lang/c99/ffi-help-bs.scm:  #:use-module (srfi srfi-71)
module/nyacc/lang/c99/ffi-help-cd.scm:  #:use-module (srfi srfi-71)
--8<---------------cut here---------------end--------------->8---

and I believe those are not used by mescc?

> That last issue in NYACC is about macro expansion¹ and still in
> progress.  Because of this I need some patches for TCC² to remove or
> simplify its use of macros.  But I’m confident that Matt will fix that
> issue as well, eventually.

Very good.

>> It looks like you patched Mes inline in its package description?
>
> Yes, these patches are currently (substitute* …) snippets, the biggest
> one is for compile.scm.  I didn’t want to deal with changes in another
> repository while progressing.  At least this way the file is
> standalone and a simple “guix build -L … GLIBC-bootstrap” is enough
> for anyone to build it.

Sure, no worries.

>> Best would be if you have a clone of the Mes git archive and could
>> create a number of patches.  I'm sure we'll get it upstreamed, no
>> worries.
>
> Thanks.  I’ll contact you separately for patches.

Good, please use bug-...@gnu.org for that conversation.  I have already
created a "wip-bootstrap-x86_64" in Mes with one big patch (the result
of they "path-source" stage), which may be helpful.  That needs to be
split up, of course.

I'm still wondering how you got upstream TCC to compile, as I don't
really see (m)any fixes/additions for "float" or "double" in mescc;
and in TCC I only see

--8<---------------cut here---------------start------------->8---
;; Prevent support for the C decimal floating point extension.
"--disable-decimal-float"

;; Mes does not support long double.
"-DTCC_USING_DOUBLE_FOR_LDOUBLE"
--8<---------------cut here---------------end--------------->8---

where "bootstrappable-tcc" used to have a quite large patch set to
disable floats for compilation with mescc.  Is the
"--disable-decimal-float" a new, bootstrappable-friendly feature of TCC,
and does that do the job for us?

Greetings,
Janneke

-- 
Janneke Nieuwenhuizen <jann...@gnu.org>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com

Reply via email to