c - Eclipse: Post build Command not found -


in eclipse, getting post build error when convert c elf file img file.

this error:

building target: usbdebug.elf invoking: arm sourcery windows gcc c linker arm-none-eabi-gcc  ./cyfx_gcc_startup.o ./cyfxtx.o ./cyfxusbdebug.o ./cyfxusbdscr.o    -t"c:\program files (x86)\cypress\ez-usb fx3 sdk\1.2\/firmware/common/fx3.ld" -nostartfiles -wl,-map,usbdebug.map -wl,-d -wl,--no-wchar-size-warning -wl,--gc-sections -wl,--entry,cyu3pfirmwareentry "c:\program files (x86)\cypress\ez-usb fx3 sdk\1.2\\firmware\u3p_firmware\lib\fx3_debug\cyfxapi.a" "c:\program files (x86)\cypress\ez-usb fx3 sdk\1.2\\firmware\u3p_firmware\lib\fx3_debug\cyu3lpp.a" "c:\program files (x86)\cypress\ez-usb fx3 sdk\1.2\\firmware\u3p_firmware\lib\fx3_debug\cyu3threadx.a" "c:\program files (x86)\cypress\ez-usb fx3 sdk\1.2\\arm-none-eabi\lib\libc.a" "c:\program files (x86)\cypress\ez-usb fx3 sdk\1.2\\lib\gcc\arm-none-eabi\4.5.2\libgcc.a" -mcpu=arm926ej-s -mthumb-interwork -g -gdwarf-2 -o"usbdebug.elf" **/usr/bin/sh: c:\program files (x86)\cypress\ez-usb fx3 sdk\1.2\util\elf2img\elf2img.exe: command not found finished building target: usbdebug.elf cs-make[1]: [post-build] error 127 (ignored)**  cs-make --no-print-directory post-build converting elf image (.img) format "c:\program files (x86)\cypress\ez-usb fx3 sdk\1.2\\util\elf2img\elf2img.exe" -i usbdebug.elf -o usbdebug.img 

it seems odd me /usr/bin/sh appears though in windows. can go command prompt , type in , works perfectly

"c:\program files (x86)\cypress\ez-usb fx3 sdk\1.2\\util\elf2img\elf2img.exe" -i usbdebug.elf -o usbdebug.img 

would know why getting command not found?

the problem spaces , parentheses in path not escaped correctly.

i able fix on setup going "c/c++ build" -> "settings" -> "build steps" , changing double quotes (") in command single quotes (').

more information problem can found here http://www.cypress.com/?app=forum&id=167&rid=78767


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -