linx-lib

仓库创建 2026年2月7日最近提交 23 天前SkillHot 收录 22 天前
▸ 精选理由

便于统一 libc 行为与分阶段门控测试的工程流程。

这个 Skill 做什么

管理 glibc 与 musl 的 libc 构建、ABI 与运行时策略。

帮你打理 glibc 和 musl 两套 libc 的编译、ABI 对齐和运行时策略,适合做 libc 移植、调试或执行静态/共享运行时划分时用。会在要保证 ABI/重定位行为跟 Linux 工具链对齐,或需要上门控阶段(G/M/R 门)报告结果时派上用场。特别之处是同时覆盖 glibc 与 musl 的构建流程和门控检查,不用各自摸索。

▸ 展开 SKILL.md 英文原文

Linx libc bring-up workflow across glibc and musl. Use when building or debugging libc ports, enforcing static/shared runtime split policy, aligning ABI/relocation behavior with Linux and toolchain, or reporting staged gate outcomes (G1/M1-M3/R1-R2).

开发编程libcglibcmusl通用
1
Stars
3
Forks
11
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/LinxISA/linx-skills/main/linx-lib/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/LinxISA/linx-skills/main/linx-lib/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Linx Lib

## Overview

Use this skill for combined libc bring-up and runtime policy across `lib/glibc` and `lib/musl`.

## Gate ladder

- glibc:
  - `G1a` configure + `csu/subdir_lib`
  - `G1b` shared `libc.so` gate
- musl:
  - `M1/M2/M3` build gates
  - `R1/R2` runtime gates

## Canonical commands

```bash
bash /Users/zhoubot/linx-isa/lib/glibc/tools/linx/build_linx64_glibc.sh
MODE=phase-b /Users/zhoubot/linx-isa/lib/musl/tools/linx/build_linx64_musl.sh
python3 /Users/zhoubot/linx-isa/avs/qemu/run_musl_smoke.py --mode phase-b --link static
python3 /Users/zhoubot/linx-isa/avs/qemu/run_musl_smoke.py --mode phase-b --link shared
python3 /Users/zhoubot/linx-isa/avs/qemu/run_musl_smoke.py --mo
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有