bug-mes
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libc-mini.a should also include integer division algorithm


From: Jan Nieuwenhuizen
Subject: Re: libc-mini.a should also include integer division algorithm
Date: Thu, 28 May 2020 17:57:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Danny Milosavljevic writes:

Hey Danny,

>> Would you like to have a go adding this libmescc-builtin, don't hesitate
>> to ask for help (on IRC if you like).
>
> BTW, what is libmes.a ?
>
> I've checked build-aux/build-lib.sh and it has libc-mini, libc and libmes.
>
> Is the latter for the mes interpreter?

Yes...maybe we have too many flavours; the idea is (where to document
this, HACKING maybe)

   libc-mini: the very minimal to bootstrap a new ARCH (exit, write, strlen)
   libmes:    (why not libc-mes?) what's needed for Mes.c/mescc
   libc:      a "reasonable" c library; very arbitrary definition
              not sure exactly what it's purpose is
              used in the 5x-* 6x-* tests, anyway...
   libc+tcc:  minimal c library for tcc
   libc+gnu:  minimal c library for the current guix bootstrap

So, "libmes" needs to be either in the binary seed, or it would need to
be bootstrapped - libc and beyond are only needed in source form.  The
name is weird, libc-mes would be better, no?

Now that we have M2-Planet, we may not need to be just as careful as
when I feared we'd need to code and maintain those in assembly, but
still.

HTH,
Janneke

-- 
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ® http://AvatarAcademy.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]