[英]Unable to cross-compile C in Eclipse on Windows OS
I am trying to cross-compile (with different x86 toolchain) C code in Eclipse on windows. 我正在尝试在Windows上的Eclipse中交叉编译(使用不同的x86工具链)C代码。
Selected: 选择:
File->New->C Project->Empty Project
Toolchain: CrossGCC
I gave: 我给了:
Cross compiler prefix: i686-pc-linux-gnu-
Cross compiler path: D:\Work\cygwin-sources-linux\toolchain\usr\bin
When I tried to build, I was getting below error. 当我尝试构建时,我遇到了错误。
16:15:00 **** Incremental Build of configuration Debug for project cross-comp ****
make all
Building file: ../cross.c
Invoking: Cross GCC Compiler
i686-pc-linux-gnu-gcc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"cross.d" -MT"cross.o" -o "cross.o" "../cross.c"
make: *** [cross.o] Error 53
16:15:00 Build Finished (took 322ms)
I doubt why it is showing i686-pc-linux-gnu-gcc instead of i686-pc-linux-gnu-gcc.exe 我怀疑为什么它显示的是i686-pc-linux-gnu-gcc而不是i686-pc-linux-gnu-gcc.exe
Error 53 is a Windows system error meaning "The network path was not found." 错误53是Windows系统错误,表示“找不到网络路径”。 Does that help?
有帮助吗? Perhaps some file was not found by something in your build chain.
也许您的构建链中的某些文件未找到某些文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.