I am trying to cross-compile (with different x86 toolchain) C code in Eclipse on windows.
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
Error 53 is a Windows system error meaning "The network path was not found." Does that help? Perhaps some file was not found by something in your build chain.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.