-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windwos 编译出错 #124
Comments
应该是gcc版本不兼容,解决办法是多尝试几个gcc版本或者注释掉gui模块 |
作者您好,我有同样的问题,我已经试过TMD-GCC,MinGW8.1.0, 7.3.0, 7.1.0等多个版本了,问题还是存在。 |
我希望看日志,所以需要build |
我也遇到这个问题了,C:\Program Files\Go\pkg\tool\windows_amd64\link.exe: running gcc failed: exit status 1 |
提供一种解决方式: |
E:\github_source\spider>go build
github.com/Mirror-l/spider
D:\applications\go\pkg\tool\windows_amd64\link.exe: running gcc failed: exit status 1
D:/applications/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: i386 architecture of input file `C:\Users\TANGZU~1\AppData\Local\Temp\go-link-952364683\000000.o' is incompatible with i386:x86-64 output
collect2.exe: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered: