Skip to content

Commit eeef530

Browse files
committed
update docs
1 parent 0bc8098 commit eeef530

File tree

2 files changed

+0
-36
lines changed

2 files changed

+0
-36
lines changed

docs/posts/xmake-update-v3.0.5.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -378,24 +378,6 @@ $ xmake f --toolchain=gcc-15
378378

379379
For more details, see: [#6929](https://github.com/xmake-io/xmake/pull/6929)
380380

381-
### Add libtool patch support for cross compilation
382-
383-
We have added libtool patch support for cross compilation scenarios, significantly improving compatibility when building packages that use autotools for different target platforms. When building packages with autotools in cross-compilation environments, libtool often generates incorrect paths and settings because it's designed primarily for native compilation. The new patch support automatically fixes library search paths, corrects toolchain detection, adjusts linking flags for the target platform, and handles shared library naming conventions.
384-
385-
```lua
386-
-- Cross-compiling for ARM Linux
387-
target("myapp")
388-
set_kind("binary")
389-
set_plat("linux")
390-
set_arch("arm64")
391-
add_packages("autotools_package") -- Package using autotools
392-
-- libtool patches are automatically applied
393-
```
394-
395-
This eliminates the need for manual patching of libtool scripts, ensures consistent cross-compilation behavior, and reduces build failures. It works transparently with existing package configurations, making it particularly useful when building packages for embedded systems, cross-compiling for different architectures, or using autotools-based packages in cross-compilation workflows.
396-
397-
For more details, see: [#6963](https://github.com/xmake-io/xmake/pull/6963)
398-
399381
### Add async support for os APIs
400382

401383
We have added asynchronous support for os APIs, allowing non-blocking file and process operations in xmake scripts. This enables concurrent I/O operations, significantly improving performance when dealing with multiple file operations or long-running processes.

docs/zh/posts/xmake-update-v3.0.5.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -378,24 +378,6 @@ $ xmake f --toolchain=gcc-15
378378

379379
更多详情,请参考:[#6929](https://github.com/xmake-io/xmake/pull/6929)
380380

381-
### 添加交叉编译的 libtool 补丁支持
382-
383-
我们添加了交叉编译场景下的 libtool 补丁支持,显著改进了在使用 autotools 为不同目标平台构建包时的兼容性。在交叉编译环境中使用 autotools 构建包时,libtool 经常生成错误的路径和设置,因为它主要是为原生编译设计的。新的补丁支持自动修复库搜索路径、纠正工具链检测、调整目标平台的链接标志,并处理共享库命名约定。
384-
385-
```lua
386-
-- 交叉编译 ARM Linux
387-
target("myapp")
388-
set_kind("binary")
389-
set_plat("linux")
390-
set_arch("arm64")
391-
add_packages("autotools_package") -- 使用 autotools 的包
392-
-- libtool 补丁会自动应用
393-
```
394-
395-
这消除了手动修补 libtool 脚本的需要,确保一致的交叉编译行为,并减少构建失败。它与现有包配置透明地工作,在为嵌入式系统构建包、为不同架构进行交叉编译,或在交叉编译工作流中使用基于 autotools 的包时特别有用。
396-
397-
更多详情,请参考:[#6963](https://github.com/xmake-io/xmake/pull/6963)
398-
399381
### 添加 os API 异步支持
400382

401383
我们为 os API 添加了异步支持,允许在 xmake 脚本中进行非阻塞的文件和进程操作。这使得能够并发执行 I/O 操作,在处理多个文件操作或长时间运行的进程时显著提高性能。

0 commit comments

Comments
 (0)