Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Musl
提交
f7965c33
T
Third Party Musl
项目概览
OpenHarmony
/
Third Party Musl
大约 1 年 前同步成功
通知
37
Star
125
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Musl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
f7965c33
编写于
9月 27, 2022
作者:
O
openharmony_ci
提交者:
Gitee
9月 27, 2022
浏览文件
操作
浏览文件
下载
差异文件
!546 add readme for musl
Merge pull request !546 from 刘雅宁/master
上级
f6d6df1c
79d8e55d
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
42 addition
and
4 deletion
+42
-4
README.md
README.md
+2
-4
README_zh.md
README_zh.md
+40
-0
未找到文件。
README
→
README
.md
浏览文件 @
f7965c33
musl libc
# musl libc
musl, pronounced like the word "mussel", is an MIT-licensed
implementation of the standard C library targetting the Linux syscall
...
...
@@ -18,6 +17,5 @@ glibc functionality.
For basic installation instructions, see the included INSTALL file.
Information on full musl-targeted compiler toolchains, system
bootstrapping, and Linux distributions built on musl can be found on
the project website:
the project website:
http://www.musl-libc.org/
http://www.musl-libc.org/
README_zh.md
0 → 100644
浏览文件 @
f7965c33
# Musl libc
musl,是MIT授权的针对Linux系统调用的API的标准C库实现,适用于广泛的部署环境。musl提供了高效的静态和动态链接支持, 为轻量级代码并且运行时开销低,在正确使用时具有强大的故障安全保证,以及标准一致性意义上的正确性和安全性。musl建立的原则是使用便于理解和维护的简单代码来实现目标。
musl的1.1版本系列涵盖了所有在ISO C99和POSIX 2008基础中定义的接口,以及一些非标准的为了与Linux、BSD和glibc功能兼容的接口。
## 目录结构
```
README_zh.md #中文说明
include #musl头文件
ldso #动态链接器
libc-test #关于musl的测试用例
ndk_musl_include #生成ndk版本的头文件
ndk_script #生成ndk版本的脚本
porting #linux liteos平台对musl适配文件
src #musl文件源
scripts #测试用脚本
```
## Openharmony对于musl的适配
musl编译框架时编译,使用BUILD.gn进行配置编译。
基于openharmony的需求,为musl新增的特性:
-
加载器地址随机化,RELRO共享机制
-
提供加载器namespace机制
-
OHOS容器中能够运行依赖bionic的库
-
musl全球化接口适配locale数据能力
等。在新增特性基础上,也进行了对于musl接口功能的完善与错误的修复。
## Musl使用文档
有关完整musl目标编译器工具链、系统的信息bootstrapping和基于musl构建的Linux发行版可以在官方网站上找到:http://www.musl-libc.org/
有关基本安装说明,请参阅附带的
[
INSTALL
](
https://gitee.com/openharmony/third_party_musl/blob/master/INSTALL
)
文件。
musl参考手册:https://musl.libc.org/doc/1.1.24/manual.html
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录