1
我想在Eclipse的Eclipse中交叉編譯(使用不同的x86工具鏈)C代碼。無法在Windows操作系統中在Eclipse中交叉編譯C
選擇:
File->New->C Project->Empty Project
Toolchain: CrossGCC
我放棄:
Cross compiler prefix: i686-pc-linux-gnu-
Cross compiler path: D:\Work\cygwin-sources-linux\toolchain\usr\bin
當我試圖建立,我得到下面的錯誤。
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)
我懷疑它爲什麼顯示的i686-PC-Linux的GNU-GCC代替的i686-PC-Linux的GNU-gcc.exe
感謝Mathew,工具鏈問題,與其他工具鏈一起工作良好 – anikhan