zig/src-self-hosted
Andrew Kelley 4616af0ca4
introduce operating system version ranges as part of the target
* re-introduce `std.build.Target` which is distinct from `std.Target`.
   `std.build.Target` wraps `std.Target` so that it can be annotated as
   "the native target" or an explicitly specified target.
 * `std.Target.Os` is moved to `std.Target.Os.Tag`. The former is now a
   struct which has the tag as well as version range information.
 * `std.elf` gains some more ELF header constants.
 * `std.Target.parse` gains the ability to parse operating system
   version ranges as well as glibc version.
 * Added `std.Target.isGnuLibC()`.
 * self-hosted dynamic linker detection and glibc version detection.
   This also adds the improved logic using `/usr/bin/env` rather than
   invoking the system C compiler to find the dynamic linker when zig
   is statically linked. Related: #2084
   Note: this `/usr/bin/env` code is work-in-progress.
 * `-target-glibc` CLI option is removed in favor of the new `-target`
   syntax. Example: `-target x86_64-linux-gnu.2.27`

closes #1907
2020-02-28 14:51:53 -05:00
..
c.zig self-hosted libc detection 2020-02-16 13:25:30 -05:00
c_int.zig introduce operating system version ranges as part of the target 2020-02-28 14:51:53 -05:00
clang.zig introduce operating system version ranges as part of the target 2020-02-28 14:51:53 -05:00
codegen.zig Add InstallRawStep to Zig build system that does a similar job to llvm-objcopy. To use it, do 'exe.installRaw("kernel.bin");' where exe is a LibExeObjStep 2020-02-03 15:07:34 -05:00
compilation.zig skip self-hosted for now as we work towards async I/O 2020-02-07 12:30:16 -05:00
decl.zig fixes and cleanup in self hosted 2019-11-26 11:52:12 +02:00
dep_tokenizer.zig std.fmt.format: comptime output parameter 2020-02-05 16:52:18 -05:00
errmsg.zig update self-hosted compiler to new format API 2019-12-08 23:17:03 -05:00
introspect.zig introduce operating system version ranges as part of the target 2020-02-28 14:51:53 -05:00
ir.zig add test for @intToEnum 2020-02-26 11:19:40 -05:00
libc_installation.zig introduce operating system version ranges as part of the target 2020-02-28 14:51:53 -05:00
link.zig introduce operating system version ranges as part of the target 2020-02-28 14:51:53 -05:00
llvm.zig fix stage2 build 2019-12-29 11:04:58 +02:00
main.zig introduce operating system version ranges as part of the target 2020-02-28 14:51:53 -05:00
package.zig changing occurrences of HashMap with []const u8 as keys for StringHashMap 2019-09-03 23:53:05 +02:00
print_targets.zig introduce operating system version ranges as part of the target 2020-02-28 14:51:53 -05:00
scope.zig self hosted compiler: use enum literals 2019-11-07 10:30:56 +02:00
stage2.zig introduce operating system version ranges as part of the target 2020-02-28 14:51:53 -05:00
test.zig Fix remaining variadic formatted prints 2020-01-09 13:36:44 -05:00
translate_c.zig remove usages of @typeId, @memberCount, @memberName and @memberType 2020-02-24 23:09:01 +02:00
type.zig remove uses of @ArgType and @IntType 2020-02-24 23:39:03 +02:00
util.zig introduce operating system version ranges as part of the target 2020-02-28 14:51:53 -05:00
value.zig update self-hosted compiler to new format API 2019-12-08 23:17:03 -05:00
visib.zig
windows_sdk.zig self-hosted libc detection 2020-02-16 13:25:30 -05:00