search for: __dietlibc__

Displaying 4 results from an estimated 4 matches for "__dietlibc__".

2016 Feb 17
1
Re: [PATCH supermin v2 4/4] init: Debug which libc is in use.
...-git a/init/init.c b/init/init.c > index 25d6bc6..38392c4 100644 > --- a/init/init.c > +++ b/init/init.c > @@ -94,6 +94,15 @@ main () > print_uptime (); > fprintf (stderr, "supermin: ext2 mini initrd starting up: " > PACKAGE_VERSION > +#if defined(__dietlibc__) > + " dietlibc" > +#elif defined(__GLIBC__) > + " glibc" This needs to be put as last, as libc implementations that copied the glibc headers (such as uclibc) define __GLIBC__... > +#elif defined(__NEWLIB_H__) > + " newlib&quot...
2016 Feb 17
0
[PATCH supermin v2 4/4] init: Debug which libc is in use.
...1 file changed, 9 insertions(+) diff --git a/init/init.c b/init/init.c index 25d6bc6..38392c4 100644 --- a/init/init.c +++ b/init/init.c @@ -94,6 +94,15 @@ main () print_uptime (); fprintf (stderr, "supermin: ext2 mini initrd starting up: " PACKAGE_VERSION +#if defined(__dietlibc__) + " dietlibc" +#elif defined(__GLIBC__) + " glibc" +#elif defined(__NEWLIB_H__) + " newlib" +#elif defined(__UCLIBC__) + " uClibc" +#endif "\n"); read_cmdline (); -- 2.5.0
2016 Mar 17
9
[PATCH supermin 0/5] Make supermin mini-initrd quieter and faster.
Various patches to make supermin quieter. By outputting fewer messages on the fast path, we use the slow emulated UART less, and this improves boot times. Also remove some kernel modules that we cannot or should not be using, which also improves boot times. Rich.
2016 Feb 17
8
[PATCH supermin 0/2] Allow an alternate libc to be used for init.
v1 -> v2: - If we split out the init program into a separate init/ directory, that makes it much easier to build against an alternate libc. I tried to build against uClibc, but uClibc requires an entire build chain, which looked like it was going to be a massive ballache. Rich.