# test/link/glibc_compat: Add C test case for glibc versions · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/8bee879fc247e9885202f690aac677717e708402)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 8bee879fc247e9885202f690aac677717e708402

Requested commit: 8bee879fc247e9885202f690aac677717e708402

Commit: 8bee879fc247e9885202f690aac677717e708402

Tree: 42ec3bda58405f22fac1917248fa8dd091db1e11

Author: Pat Tullmann

Committer: Pat Tullmann

## Message

```
test/link/glibc_compat: Add C test case for glibc versions

glibc_runtime_check.c is a simple test case that exercises glibc functions
that might smoke out linking problems with Zig's C compiler.  The
build.zig compiles it against a variety of glibc versions.

Also document and test glibc v2.2.5 (from 2002) as the oldest working
glibc target for C binaries.

```

## Parents

- [a4e01074b5cec7da7990188bf0163e8a1fb18483](https://git.cafe/gitcafe/zig/commit/a4e01074b5cec7da7990188bf0163e8a1fb18483?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/8bee879fc247e9885202f690aac677717e708402?format=markdown)
