Home > other >  Go GCC bee run compile time error
Go GCC bee run compile time error

Time:01-10

D: \ Go \ PKG \ tool \ windows_amd64 \ link exe: running GCC failed: the exit status 1
e:/go/src/github.com/go-vgo/mingw/bin/../lib/GCC/x86_64 - w64 - mingw32/4.8.2/../../../../x86_64 - w64 - mingw32/bin/ld. Exe: unrecognized option '- high - entropy - va'
e:/go/src/github.com/go-vgo/mingw/bin/../lib/GCC/x86_64 - w64 - mingw32/4.8.2/../../../../x86_64 - w64 - mingw32/bin/ld. Exe: use the -- help option for the usage information
Collect2. Exe: error: ld returned 1 exit status


GCC compile normal C file no problem
Github.com/mattn/go-sqlite3 reference this would be an error

CodePudding user response:

Error description is very clear ah
Your mingw own ld command does not support - high - entropy - va options, download and install the new version of the ld
Refer to the following
https://www.mail-archive.com/[email protected]/msg38473.html

  • Related