Displaying 3 results from an estimated 3 matches for "__uclibc__".
Did you mean:
__glibc__
2016 Feb 17
1
Re: [PATCH supermin v2 4/4] init: Debug which libc is in use.
...ot; 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"
> +#elif defined(__UCLIBC__)
> + " uClibc"
#else
# error unrecognized libc
While not having an identification string is not an issue, requiring it
might ease check whether supermin has actually been tested with a libc.
Thanks,
--
Pino Toscano
2016 Feb 17
0
[PATCH supermin v2 4/4] init: Debug which libc is in use.
...();
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 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.