编译 Putty 知识储备


Microsoft 40 阅 0 评

Putty 记住密码,自己编译知识储备。

纯编译
https://bdznh.github.io/2017/06/30/build-putty-on-Windows

添加密码(源码变动,仅能参考)
http://blog.cuicc.com/blog/2011/08/23/putty-with-auto-login-password
https://ljt.me/?p=1025
http://www.opensoce.com/3702.html

mingw64 下载

https://sourceforge.net/projects/mingw-w64

CMD 设置变量

set PATH=D:\MinGW-8.1.0\bin;%PATH%

验证安装

gcc -v

putty 源码

# Github putty
https://github.com/github/putty

# windows
https://the.earth.li/~sgtatham/putty/latest/putty-src.zip

# linux
https://the.earth.li/~sgtatham/putty/latest/putty-0.73.tar.gz

# 中文 putty
https://github.com/larryli/PuTTY

make.exe =拷贝=> system32

ftp://ftp.equation.com/make/32/make.exe
ftp://ftp.equation.com/make/64/make.exe

编译

cd putty-src/windows
make -f Makefile.mgw

生成目录

~/putty-src/windows/*

编译成功 - putty.exe/about

PuTTY

Release 0.73

Build platform: 64-bit x86 Windows
Compiler: gcc 8.1.0
Embedded HTML Help file: no
Source commit: 745ed3ad3beaf52fc623827e770b3a068b238dd5

?1997-2019 Simon Tatham. All rights reserved.
更新 2019-02-02
评论 ( 0 )
私信
pic
code
pre