• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Introduction to libc header file distribution<a name="ZH-CN_TOPIC_0000001078530726"></a>
2
3-   [Dependency warehouse](#section1371113476307)
4-   [Header file publishing method](#section15884114210197)
5
6## Dependency warehouse<a name="section1371113476307"></a>
7
8[third_party/musl](https://gitee.com/openharmony/third_party_musl)
9
10## Header file publishing method<a name="section15884114210197"></a>
11After downloading the above musl warehouse to the local, copy the export_libc_header.sh script in the documentation directory to the root directory of the musl package,
12After executing the following command, the musl_header_files folder will be generated in this directory, and copy the contents of the musl_header_files folder to the thirdparty\open_source\musl path of the SDK package (this md description document directory).
13chmod 777 ./export_libc_header.sh
14./export_libc_header.sh
15
16Note: It is necessary to ensure that the paths of the libc header files in the SDK package are thirdparty/open_source/musl/libc/* and thirdparty/open_source/musl/libc_32, otherwise when compiling the trusted application binary, the compilation under build/mk and build/cmake The script will report an error.
17