:: Re: [DNG] Have you installed Alire …
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Didier Kryn
Fecha:  
A: dng
Asunto: Re: [DNG] Have you installed Alire on Devuan or Refracta?
Le 19/11/2024 à 13:11, Kevin Chadwick via Dng a écrit :
> I know"https://www.getada.dev" made some efforts to get alire running on Alpine
> with musl libc but I'm not sure if it has been successful or not. Some crates
> require system packages or lib installation, so Devuan is the much easier choice
> even when using Alire. Alire is just a single alr binary. It is in the devuan
> repo but I would use version 2 from"https://alire.ada.dev".


    I like very much the goals of Musl libc. More that 10 years ago,
after long efforts, I succeeded to build a native GCC compiler
understanding C, C++ and Ada, sysrooted and linking against Musl, and
which was itself statically linked with Musl. It is necessary that the
compiler understands C++ because it is partially written in C++ and must
be able to compile itself.

    At that time I emailed to the Musl list but they were clearly not
interested in my GCC patches. Actually not interested by Ada. But, if
some group of people takes care of building the toolchain, this is a
very good news.

    By default, with Gnat, everything is linked statically, with the
exception of glibc, because it is the will of the Gnu libc (initially
due to its main developper Ulrich Drepper) to make static linking
practically impossible. On the contrary, Musl makes it easy. And I like
static linking because a statically linked executable can be copied to
any version of Linux with the proper architecture and execute right away.

--     Didier