From f758c564d97a6d053fa93c08208559452bb9cbc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E9=87=91=E6=97=AD?= Date: Fri, 27 Jun 2025 04:00:09 +0000 Subject: [PATCH 1/3] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9B=BF=E6=8D=A2?= =?UTF-8?q?=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 方金旭 --- zh-cn/application-dev/reference/native-lib/cpp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/reference/native-lib/cpp.md b/zh-cn/application-dev/reference/native-lib/cpp.md index 4f8088649e4..73d879a98fd 100644 --- a/zh-cn/application-dev/reference/native-lib/cpp.md +++ b/zh-cn/application-dev/reference/native-lib/cpp.md @@ -4,7 +4,7 @@ OpenHarmony使用llvm开源项目的C++标准库[libc++](https://libcxx.llvm.org ## libc++版本 -从OpenHarmony 4.0开始到OpenHarmony 6.0,libc++升级到clang/llvm 15.0.4版本 +从OpenHarmony 4.0开始到OpenHarmony 6.0,libc++升级到clang/llvm 15.0.4版本 从OpenHarmony 3.2开始,libc++升级到clang/llvm 12.0.1版本 -- Gitee From 597d2b6492c862d637182d0404a3a26c6ab2845b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E9=87=91=E6=97=AD?= Date: Tue, 1 Jul 2025 17:57:59 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9B=B4=E6=96=B0IDE=20N?= =?UTF-8?q?DK=E5=B7=A5=E7=A8=8B=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zh-cn/application-dev/napi/create-with-ndk.md | 2 +- zh-cn/application-dev/napi/figures/oh-menu.PNG | Bin 13114 -> 0 bytes zh-cn/application-dev/napi/figures/oh-menu.png | Bin 0 -> 12508 bytes 3 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 zh-cn/application-dev/napi/figures/oh-menu.PNG create mode 100644 zh-cn/application-dev/napi/figures/oh-menu.png diff --git a/zh-cn/application-dev/napi/create-with-ndk.md b/zh-cn/application-dev/napi/create-with-ndk.md index 53206c35d56..52c575f73eb 100644 --- a/zh-cn/application-dev/napi/create-with-ndk.md +++ b/zh-cn/application-dev/napi/create-with-ndk.md @@ -19,4 +19,4 @@ 3. 在工程配置页面,根据向导配置工程的基本信息后,单击**Finish**,工具会自动生成示例代码和相关资源,等待工程创建完成。 在工程entry/src/main目录下会包含cpp目录,该目录文件的详细介绍请参见[C++工程目录结构](https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/ide-project-structure-V5)。 - ![oh-menu](figures/oh-menu.PNG) + ![oh-menu](figures/oh-menu.png) diff --git a/zh-cn/application-dev/napi/figures/oh-menu.PNG b/zh-cn/application-dev/napi/figures/oh-menu.PNG deleted file mode 100644 index 82248b52cfd3c094d4903fbd7326d69131e50767..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13114 zcmajGbzD?m+x9&mp&%e3ASvB~G!g?iNH@|Y-AFeB7%-r8cSuTiBLX7bUDDk-L(H@B zcU|{;-Jk1ypZ5=#&E9Kvti9HG9Ow63z*Ll^aj?j+Kp+r~tPDgA1VZ5hev%)e0(+JP zURwblkKW7ZxPU;o9rr&d-HrujAkcG=EJQ-XGj%`B&y{>V?GPF>O#?%XLdjR8>2#v) zlC_;>4Af+;i_KGvIwDATQ;k;p%EQrPe1BmIgWvFwwai49BuI~5x(Jq>q-+jU zw%&;j@tpd0;o#ulg92p9Lae&ODdVUxK+n@Q(|t+)gT$zXvN}uiHqnxU$swqRCg-@_4nALjGM4KN%Ksx<)zvNg8iz(wdZTPDD;?W3j0d%;!*l~`qgZEl( z{!b&DbyiX0NXflv`G`-5MUR2cdX7ykh1+rrD2rZG8A^&R=T|>+fJ1lRT#W7rIHVjj z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O@_$P5e~SmpK%Jdc6aysgeg~f6 Y3w@BX0RIF0GYm*pN(oXbX&m%_07&Hv2><{9 diff --git a/zh-cn/application-dev/napi/figures/oh-menu.png b/zh-cn/application-dev/napi/figures/oh-menu.png new file mode 100644 index 0000000000000000000000000000000000000000..3d506f160fe7f6f7e445d36aa9fca0078aa48d7a GIT binary patch literal 12508 zcmb7rbzGBe`~DoGQ5r#M36UBgjUWgjjUX_3N()GLj!==9fOI`7ph%4x(i0Jc4S47n zp`^65#Nc;>&-=d5`|aN!eD>LP?TRyw^Ei*|CPrUZ{UXH`3J?f%QRAMf0SI&f3jBR0 zBLO~nOSr2Fyj<`yP*(w!^{_4hZy*lJI?5nW1(NdkAu;ft-2I-Z7YKCe^V#2p4!8HV zAQ03;Lsj{Kztvh!P>J1$<+R)Bb>tq>__2Pps+pPEPxT>E8U4H$`jm)6Qdi{ySR2>v z#6aTr-ES+iV2@`6#Q&(@tWf(nNG?g!A>B3$6=-c9bu>`We#Bp-uE2i#jSqiqscp5! zhCL45CfXnWYE#-RKEsQC-pEr$hU@*f>TGQJ;%H<*9WW3(wcTB*Dopj3Murf|Sf)dm zQ*=;`M>B!XGfYc_mVm={ZgYh?`kve0@6bBk(} zVHEwAC>Pi^{2jI@f}aqgt*bS#1*JQE?Q&f>UKD*^pqSvpyqiTBp8ZBAtcBOi=KIO} z#E2C7It|gZn`SvoPJ$uT^%DwJVSNdSxnB+Ve9ZE=cue5pS&bVfh6}E4LFU^Np{F(u znSlYT*n;?K%XzAs(vb`>!Q>;{)%mTh-P%lvA<6xMvRaV{8+m^3mCau-Fm`LwRmG_BEs4;2>91EGxr;qtDmFGAf1un*u*pOBU zx@K4Fz!cq1dO1Ss_Z1_6=(uM^!wlY*wMP(F<+6Xjxu#~^iMvi`cpWN;c3+kA^?etY zoWPhWnpA~Uw9=`ao@%58VzwI1qhz77@J#C~XK^;dXT_6v!QQn96DUH2G=L{P(^GnM zDqzhGM4K(zonA?4qK(?K1iaD^52@e|HJE80&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>!$=IpBii5D`YG4lldj##!K`S4k5Wi+to7s*c?o(gRWg=t{9|(``P9rI zKAMIQ%E|)HT7ebr=BUHbIeVFw9JPqJ znD8L@Gkmms?D1_lR3T}s{U`Gu7?RV>Qj+sfAu&q3dnaqMjY z!LcNCqZiEHZt85aI0_YE#E^O?LiA&g{m(x-`1T|v_dh_@8Vs{xvlfsV3 zweFmmmW1u5sZ$079I1A`9p$qn_-H9{!u-P6mG>>lJA#!YF%YJaqvp*(+g-)o0{`lh zPQ}R+SXLPG`FwC*Z(?KePuMRfKk()CW+Ty472J;@e7oN%N;gZ2#`HEyTn$cbN$io7 zP8Tnn@Bik+aoZ=0K79vxqUr>iFBhfFE-mp!icR+JEUETto|TF&3uOY;@1f7*rhd9j zG0Z=eS8|;Cc};0b6+P{L4bGsb-Cm+X#zcQuM>kHEIBk#&NHN~+_?j z$@_@0w9BuAsUdp{`=MWhPxVf+4_^D7B-L%M5|7C9S;HCo?5vD(>r$In-?}cg@uwtW z@-;U^Z%VIC%J^zeGX=3-J$Hd4>P=TVLSt&PD6PBYq_;Lx`n2nrrCazs@I)yPH6(%` z;3Q04LJXtSO|zG~_fPQBSz((J(qmd0;dZ|Ri$wIjDG|yA@DOm_50&}{a~2m= z=V_mRYCyt8Df08}ga2X(^$_q+)mVV(*v&X7y;i+3IG@J+8BFi(uCQ?V`H+-I}IJxwb6z`f;W25_0JDgjNv}E$&?MAdy za1NvX3>hN&H#TJLnJc4k!~avB|BpB@)P1@8lvE^z9DPx^z5@7<1dxWBu4 Date: Tue, 1 Jul 2025 10:07:32 +0000 Subject: [PATCH 3/3] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20zh-c?= =?UTF-8?q?n/application-dev/reference/native-lib/cpp.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 方金旭 --- .../reference/native-lib/cpp.md | 39 ------------------- 1 file changed, 39 deletions(-) delete mode 100644 zh-cn/application-dev/reference/native-lib/cpp.md diff --git a/zh-cn/application-dev/reference/native-lib/cpp.md b/zh-cn/application-dev/reference/native-lib/cpp.md deleted file mode 100644 index 73d879a98fd..00000000000 --- a/zh-cn/application-dev/reference/native-lib/cpp.md +++ /dev/null @@ -1,39 +0,0 @@ -# 标准C++库 - -OpenHarmony使用llvm开源项目的C++标准库[libc++](https://libcxx.llvm.org/)作为C++运行时库。 - -## libc++版本 - -从OpenHarmony 4.0开始到OpenHarmony 6.0,libc++升级到clang/llvm 15.0.4版本 - -从OpenHarmony 3.2开始,libc++升级到clang/llvm 12.0.1版本 - -从OpenHarmony 3.0开始,libc++使用clang/llvm 10.0.1版本 - -## C++语言支持能力 - -C++11、C++14标准已完全支持,C++17和C++20标准正在完善,开发者可以通过[如何修改代码工程所支持的C++语言版本](https://developer.huawei.com/consumer/cn/doc/harmonyos-faqs-V5/faqs-ndk-9-V5)来设置自己开发所需C++标准版本。具体语言特性支持标准可以参考[https://libcxx.llvm.org/](https://libcxx.llvm.org/)网站对应的Release Notes。 - - -## 如何在CMake中选择C++ - -在NDK的{ndk_root}/build/cmake/ohos.toolchain.cmake文件中,定义了OHOS_STL变量,可以通过设置"c++_shared"或者"c++_static"来控制应用工程中原生库链接C++运行库的方式。 -* c++_shared,原生库动态链接libc++_shared.so -* c++_static,原生库静态链接libc++_static.a - -## C++运行时兼容性 - -在OpenHarmony系统中,系统库与应用原生库都在使用C++标准库,两部分升级节奏不一样,依赖C++运行时版本也可能不一样。系统库依赖的C++标准库随镜像版本升级,而应用原生库依赖的C++标准库随编译使用的SDK版本升级,两部分依赖的C++基础库会跨多个大版本,产生ABI兼容性问题。为了解决此问题,OpenHarmony上把两部分依赖的C++标准库进行了区分。 - - * 系统库:使用libc++.so, 随系统镜像发布。 - * 应用Native库:使用libc++_shared.so,随应用发布。 - - 两个库使用的C++命名空间不一样,libc++_shared.so使用__n1作为C++符号的命名空间,libc++.so使用__h作为C++符号的命名空间。 - - 注意:两边使用的C++标准库不能进行混用,Native API接口当前只能是C接口,可以通过这个接口隔离两边的C++运行环境。 - -## 注意事项 - -1. C++运行时库工具链进行大版本升级的时候,不保证一定二进制兼容;一个应用包如果有多个动态库,这些动态库**必须用同一个大版本的clang工具链进行编译**,依赖相同版本的libc++_shared库,否则有可能产生不可预知的错误。 - -2. 在一个应用工程里面,如果只有一个共享库,建议使用静态链接c++_static,这样能够让链接器精简使用的C++运行时代码,降低包大小。如果有多个库,或者依赖带动态库的har包,或者ohpm上带库的二进制中间件,建议采用动态链接C++库;采用静态链接会导致程序中定义多个函数或对象的副本,会破坏C++的单一定义规则(One Definition Rule),出现不可预知问题。 \ No newline at end of file -- Gitee