Skip to content

[200_21] 拆分 s7_r7rs.c 并重新实现 get-environment-variables#418

Merged
da-liii merged 12 commits intomainfrom
da/200_21/r7rs
Feb 13, 2026
Merged

[200_21] 拆分 s7_r7rs.c 并重新实现 get-environment-variables#418
da-liii merged 12 commits intomainfrom
da/200_21/r7rs

Conversation

@da-liii
Copy link
Contributor

@da-liii da-liii commented Feb 13, 2026

No description provided.

da-liii and others added 7 commits February 13, 2026 22:27
1. 将s7.c和s7.h从3rdparty/s7重命名到src目录
2. 更新xmake.lua构建配置:
   - 移除对s7外部包的依赖
   - 将s7.c直接添加到goldfish目标的源文件中
   - 同步原3rdparty/s7/xmake.lua中的S7配置
   - 添加option("gmp")支持
3. 更新goldfish.hpp中的头文件包含路径
4. 验证构建和测试正常工作

Co-Authored-By: Claude <noreply@anthropic.com>
添加Windows平台特定的构建配置:
- set_optimize("faster")
- set_languages("c11")
- add_cxxflags("/fp:precise")

这些配置来自原3rdparty/s7/xmake.lua文件,修复Windows构建失败问题。

Co-Authored-By: Claude <noreply@anthropic.com>
goldfish目标已设置set_languages("c++17"),set_languages("c11")会覆盖它。
由于goldfish包含C++代码,需要C++17支持,而s7.c可以在C++17模式下编译。

Co-Authored-By: Claude <noreply@anthropic.com>
@da-liii da-liii changed the title [200_21] s7_r7rs.c 第一次拆分 [200_21] s7_r7rs.c: getenvs Feb 13, 2026
@da-liii da-liii changed the title [200_21] s7_r7rs.c: getenvs [200_21] 拆分 s7_r7rs.c 并重新实现 get-environment-variables Feb 13, 2026
@da-liii da-liii merged commit ba6b00a into main Feb 13, 2026
4 checks passed
@da-liii da-liii deleted the da/200_21/r7rs branch February 13, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant