3 ms·
> awful and unnecessary automagic configure steps Steps taken when? When building glibc? And - what steps? > ld/lld expect a full and complete shared library
by einpoklum 2y ago
> awful and unnecessary automagic configure steps
Steps taken when? When building glibc? And - what steps?
> ld/lld expect a full and complete shared library to exist when compiling ...
But ld and lld are linkers...
> Zig solves the glibc linking issue.
But Zig is a language. Do you mean the Zig standard library? The Zig compiler?
> The only thing you actually need are headers and a thin, implementation free lib that contains stub functions.
Why do you need stub functions at all, if you're not actually using them?
- deleted 2y ago[deleted]
- ploxiln 2y agoThe zig compiler can compile C and C++, using llvm, and it also packages various libc implementations, including glibc, musl, mingw, and msvc, and more for other OSes. Some people use it as a more convenient golang-like cross-compiler. And this whole combination is a smaller download and install than most other toolchains out there. It just took some inspiration and grunt work, to dissect the necessary (processed) headers and other bits of each libc ... hats of to the zig devs. Random blog post I just found about it: https://ruoyusun.com/2022/02/27/zig-cc.html https://ruoyusun.com/2022/02/27/zig-cc.html