编译 - 生活之路

linux平台交叉编译ARM程序

1.为什么要在linux下面编译ARM程序? ARM架构复杂,而且型号众多,一些低端设备无法编译软件 使用linux工具链齐全,交叉编译ARM程序效率高2.确定ARM架构root@XiaoQiang:~# ldd --version musl libc (arm) Version 1.1.19 Dynamic Program Loader Usage: ldd [options] [--]

使用docker编译openwrt固件

docker优势这里不重复,直接往下看1. openwrt编译环境准备: 一键安装dockerwget -qO- https://get.docker.com/ | bash curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun2. 为openwrt环境编写dockerfile 这里用的是lienol源代码FROM

golang在windows系统下编译源码

1.下载 Golang 的 Windows 版本并安装 官网:https://golang.org/dl 安装后,CMD命令行添加go env -w GO111MODULE=on GOPROXY=https://goproxy.cn,https://goproxy.io,direct2.下载源代码并解压 进入源码目录,CMD命令行添加执行env:CGO_ENABLED=0 go build -o

bbrplus内核编译教程

编译bbrplus内核前需要做好准备工作bbrplus编译环境准备 centos环境yum install -y screen wget curl zip unzip tar rsync ncurses-devel make gcc bc bison flex elfutils-libelf-devel openssl-devel rpm-build git python3 dwarves y

centos6升级GCC版本到4.8.5

本人centos6需要使用gcc4.8.5编译openssl 1.1.1 下面列出升级GCC4.8.5的方法,亲测可用.