Andrew Kelley 65bea514ae Compilation: handle system C compiler not found
When linking libc and compiling natively, Zig tries to integrate with
the system C compiler. However, this caused Zig to fail when no system C
compiler is installed, despite the fact that Zig is perfectly capable of
compiling & linking libc without one.

This commit makes Zig fall back to using its own ability to provide libc
in the case that no C compiler is installed. For glibc, it means
sometimes getting the warning "zig cannot build new glibc version abc,
providing instead xyz".

Ideally, Zig would do some more validation about the system libraries
being linked against, and report an error in case it could not provide
the exact correct libc version of the system libraries (or that the
system libraries themselves conflict with each other), however, I think
it is fair to call that a separate enhancement.
2022-09-11 16:37:03 -07:00
..
2022-08-31 19:30:51 +02:00
2022-08-23 21:11:02 -07:00
2022-08-23 21:11:02 -07:00
2022-04-20 17:18:06 -07:00
2022-01-07 00:06:06 -05:00
2022-09-01 15:13:07 -05:00
2022-05-26 21:58:19 -07:00
2022-09-07 15:22:30 +03:00
2022-04-15 17:01:01 -05:00
2022-01-07 00:06:06 -05:00
2022-08-18 18:58:28 -07:00