首页 > 其他分享 >静态编译tig

静态编译tig

时间:2022-11-24 20:35:33浏览次数:58  
标签:GNU 静态 make 编译 64 https download tig

x86

  • 执行./configure

  • 修改config.make
    image

  • 执行make

❯ file src/tig
src/tig: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, BuildID[sha1]=57cc012eb72a1964ca97d11e7cd767cbe74d36a5, for GNU/Linux 3.2.0, with debug_info, not stripped

ARM64

  • 修改config.make:
    image

上面的tinfo库需要安装如下软件包:

sudo apt install libtinfo-dev

标签:GNU,静态,make,编译,64,https,download,tig
From: https://www.cnblogs.com/pengdonglin137/p/16922536.html

相关文章