提交 69312aef 编写于 作者: O openharmony_ci 提交者: Gitee

!4 update ReadME.md

Merge pull request !4 from Harylee/master
......@@ -34,7 +34,7 @@ When bugs in the musl library are fixed or the version is updated, you need to c
## Usage<a name="section68313135353"></a>
- Add the bin directory to the PATH environment variable. For details about how to set up the compilation environment, see [Setting Up the Hi3518 Development Environment](https://gitee.com/openharmony/docs/blob/master/docs-en/quick-start/setting-up-the-hi3518-development-environment.md) and [Setting Up the Hi3516 Development Environment](https://gitee.com/openharmony/docs/blob/master/docs-en/quick-start/setting-up-the-hi3516-development-environment.md).
- Add the bin directory to the PATH environment variable. For details about how to set up the compilation environment, see [Setting Up the Hi3518 Development Environment](https://gitee.com/openharmony/docs/blob/master/en/device-dev/quick-start/setting-up-the-hi3518-development-environment.md) and [Setting Up the Hi3516 Development Environment](https://gitee.com/openharmony/docs/blob/master/en/device-dev/quick-start/setting-up-the-hi3516-development-environment.md).
- The following is a sample script for compiling the **helloworld.c** program:
```
......@@ -45,5 +45,7 @@ The compiler directory is **\~/llvm**.
## Repositories Involved<a name="section1371113476307"></a>
**[prebuilts\_lite\_sysroot](https://gitee.com/openharmony/prebuilts_lite_sysroot)**
[Kernel subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/kernel.md)
**prebuilts\_lite\_sysroot**
......@@ -34,7 +34,7 @@ musl库bug修复或者新版本更新时,需要重新编译构建新的libc库
## 使用说明<a name="section68313135353"></a>
- 将clang编译器bin目录设置到环境变量中,编译环境的搭建可以参考([for HI3518EV300](https://gitee.com/openharmony/docs/blob/master/quick-start/Hi3518%E6%90%AD%E5%BB%BA%E7%8E%AF%E5%A2%83.md)[for HI3516DV300](https://gitee.com/openharmony/docs/blob/master/quick-start/Hi3516%E6%90%AD%E5%BB%BA%E7%8E%AF%E5%A2%83.md))。
- 将clang编译器bin目录设置到环境变量中,编译环境的搭建可以参考([for HI3518EV300](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/quick-start/%E6%90%AD%E5%BB%BA%E7%8E%AF%E5%A2%83.md)[for HI3516DV300](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/quick-start/Hi3516%E6%90%AD%E5%BB%BA%E7%8E%AF%E5%A2%83.md))。
- 编译用户程序helloworld.c示例如下:
```
......@@ -45,5 +45,7 @@ clang -o helloworld helloworld.c -target arm-liteos -L ~/llvm/lib/clang/9.0.0/li
## 相关仓<a name="section1371113476307"></a>
**[prebuilts\_lite\_sysroot](https://gitee.com/openharmony/prebuilts_lite_sysroot)**
[内核子系统](https://gitee.com/openharmony/docs/blob/master/zh-cn/readme/%E5%86%85%E6%A0%B8%E5%AD%90%E7%B3%BB%E7%BB%9F.md)
**prebuilts\_lite\_sysroot**
#!/usr/bin/env python
#-*-coding:utf-8-*-
#Copyright (c) 2010-2019 Huawei Technologies Co., Ltd.
#Copyright (c) 2020-2021 Huawei Device Co., Ltd.
#Licensed under the Apache License, Version 2.0 (the "License");
#you may not use this file except in compliance with the License.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册