Re:The Journey Before main()
by 1718627440 on Sunday October 26, 2025 @12:46PM
(#45713257)
Glibc is half of GNU/Linux. You can of course use another libc, but it will be a different OS.
[ Parent
| on HN ]
Re:The Journey Before main()
by liqilin1567 on Sunday October 26, 2025 @09:58PM
(#45716638)
Yeah, even library loading relies on glibc, so we can't really escape glibc on GNU/Linux.
I wonder if anyone implemented loading shared libraries without glibc? It shouldn't be that hard, just need to implement ELF parser and glibc-compatible relocation mechanism.
Re:The Journey Before main()
by 1718627440 on Monday October 27, 2025 @06:29AM
(#45719321)
I don't think nobody has done, that. It is just that vendoring your own OS comes with a lot of work.
Re:The Journey Before main()
by 1718627440 on Monday October 27, 2025 @06:29AM
(#45719317)
I don't really know why people expect to be able to bypass the OS and not have problems. It seems to come from people who think a "Linux OS" only consists of the Linux kernel.