Download presentation
Presentation is loading. Please wait.
1
Lei Zhao, USTC Gzip 的命令行方式编译 Speaker: Lei Zhao ( 赵雷 ) Department of Computer Science & Technology University of Science & T echnology of China September 13, 2006
2
Lei Zhao, USTC Gzip Compilation by Command Line 2/35 如何添加环境变量 我的电脑 -> 属性 -> 高级 -> 环境变量 在环境变量中添加路径时,与原来的路径用分号隔开
3
Lei Zhao, USTC Gzip Compilation by Command Line 3/35 如何打开控制台 开始 -> 运行,敲入 cmd 命令
4
Lei Zhao, USTC Gzip Compilation by Command Line 4/35 源代码 下面的说明适用于 http://www.gzip.org/ 提供 的,完全没有更改过的 Gzip 1.2.4 的代码包 http://www.gzip.org/
5
Lei Zhao, USTC Gzip Compilation by Command Line 5/35 内容 VC 命令行 BC 命令行 TC 命令行
6
Lei Zhao, USTC Gzip Compilation by Command Line 6/35 内容 VC 命令行 BC 命令行 TC 命令行
7
Lei Zhao, USTC Gzip Compilation by Command Line 7/35 VC 命令行下 Gzip 编译 确保环境变量含有如下路径 Include 中有: $VC_HOME\Include Lib 中有: $VC_HOME\Lib Path 中有: $VC_HOME\Bin 其中 $VC_HOME 值可能为: C:\Program Files\Microsoft Visual Studio\VC98
8
Lei Zhao, USTC Gzip Compilation by Command Line 8/35 VC 命令行下 Gzip 编译 将 $GZIP_HOME\nt\makefile.nt 复制到 $GZIP_HOME\ 下 打开控制台转到 $GZIP_HOME\ 运行如下命令: nmake /f makefile.nt 运行 gzip.exe , OK !
9
Lei Zhao, USTC Gzip Compilation by Command Line 9/35 内容 VC 命令行 BC 命令行 TC 命令行
10
Lei Zhao, USTC Gzip Compilation by Command Line 10/35 BC 命令行下 Gzip 编译 确保环境变量 Path 包含 $BC_HOME\BIN 路径 将 $GZIP_HOME\msdo s\Makefile.bor 复制到 $GZIP_HOME\ 并作 修改如右图,注意其中 的 c:\bc 代表 $BC_HOME
11
Lei Zhao, USTC Gzip Compilation by Command Line 11/35 BC 命令行下 Gzip 编译 打开控制台转到 $GZIP_HOME\ 运行如下命令: make /f makefile.bor 运行 gzip.exe , OK !
12
Lei Zhao, USTC Gzip Compilation by Command Line 12/35 内容 VC 命令行 BC 命令行 TC 命令行
13
Lei Zhao, USTC Gzip Compilation by Command Line 13/35 TC 命令行下 Gzip 编译 该 Gzip 源码包并未给出 TC 命令行下的编译说明, 也没有给出相关 Makefile
14
Lei Zhao, USTC Gzip Compilation by Command Line 14/35 Thanks !
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.