Posted in Go语言基础和工具链Golang插件更新必须禁用的3个CGO标志(-fPIC、-shared、-rdynamic),否则触发linker段错乱 第一章:Golang插件更新的基 … Golang插件更新必须禁用的3个CGO标志(-fPIC、-shared、-rdynamic),否则触发linker段错乱Read more by Gopher的成长日记|2026年3月28日|c-shared构建模式, -fPIC参数, -rdynamic, cgo标志, Golang插件加载
Posted in Go语言基础和工具链【Go编译认知革命】:你还在用go run?真正高可用服务必须掌握的6种构建模式(dev/test/staging/prod/ci/cross) 第一章:Go编译的本质:从源码到 … 【Go编译认知革命】:你还在用go run?真正高可用服务必须掌握的6种构建模式(dev/test/staging/prod/ci/cross)Read more by 写代码的猫|2026年3月22日|高可用服务架构, Go动态加载, rune底层实现, CI/CD误判, Go编译排除, c-shared构建模式
Posted in Go语言基础和工具链Go编译SO文件的4种buildmode对比:c-archive/c-shared/pie/exec —— 安全合规选型决策矩阵 第一章:Go语言能编译SO文件吗 … Go编译SO文件的4种buildmode对比:c-archive/c-shared/pie/exec —— 安全合规选型决策矩阵Read more by 架构思考者|2026年2月21日|安全合规选型, c-archive模式, c-shared构建模式, Go编译SO文件, buildmode对比
Posted in Go语言基础和工具链【绝密参数】Golang build -ldflags隐藏开关:-H=windowsgui -extldflags “-static” -buildmode=c-shared 实现真正无依赖跨平台分发 第一章:Golang如何打包可以 … 【绝密参数】Golang build -ldflags隐藏开关:-H=windowsgui -extldflags “-static” -buildmode=c-shared 实现真正无依赖跨平台分发Read more by 算法与梦想|2026年2月10日|Golang编译参数, 静态链接Go程序, Windows便携系统, -ldflags隐藏选项, GUI无依赖分发, c-shared构建模式