# build-bochs **Repository Path**: peter_parker/build-bochs ## Basic Information - **Project Name**: build-bochs - **Description**: 构建Bochs - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-08-26 - **Last Updated**: 2024-08-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 编译Bochs 运行构建脚本 ``` ./build.sh ``` ``` 制作补丁文件 diff -u ./build/bochs-2.7/gui/gui.h ./build/bochs-2.7/gui/gui2.h > x.patch 给文件打补丁 patch -p0 < x.patch 恢复打补丁的文件到旧版 patch -p0 -R < x.patch ``` ``` 制作tar.gz压缩包 tar -czvf build-bochs.tar.gz --exclude build --exclude=.vscode --exclude ExeCode-Generation.py build-bochs/ ```