下载:swig tar包
解压:
tar -xvzf
* -x - extract files from an archive
* -v - verbosely list files processed
* -z - filter the archive through gzip
* -f - use archive file
安装:
5. SWIG on Cygwin
5.1 Installing SWIG
Go to www.swig.org/download.html and download swig-x.xx.x.tar.gz. Check INF5660 for required version.
Extract the archive, change to the directory and install by typing these commands:
$ ./configure
$ make
$ make install
5.2 Test SWIG
Test SWIG by typing $ swig -version (swig -help for options and help):
http://folk.uio.no/hpl/scripting/cygwin-install/winpy4cs.html#2
Cygwin Cheat-Sheet
http://www.voxforge.org/home/docs/cygwin-cheat-sheet
2.整合cygwin命令到Windows中
假设cygwin安装在d:/develop/cygwin,则将d:/develop/cygwin/bin添加到系统变量PATH中(最好加在 windows前面,这样的话,有些相同的命令的话,是先执行cygwin的命令,而不是windows命令,比如find),就可以直接在 cmd.exe下面执行tar czvf xxx.tgz ./基本上所有的命令都可以用了,包括ls,more,less,find,grep等。
