hello i am getting problem to compile my code using gcc compiler in the keil uvision4. every time i build my code,it generate a message "target not created". please help me to set up gcc compiler environment.
after getting that i reached the conclusion that it is not setting up environment for arm-none-eabi-gcc compiler. while i have already given the path for this compiler. i have already make the environment by this eg: project->manage->components,environment....->folder extension->checked the gcc compiler and the path for the gcc compiler is:C:\Program Files\GNU Tools ARM Embedded\4.7 2012q4\arm-none-eabi\
Just a quick check. Does the directory arm-none-eabi\ contain a binary arm-none-eabi-gcc?
Note that when installing gcc, you often get two separate binary directories. One with a "gcc" binary. And another directory with "arm-none-eabi-gcc".
no it doesnt contain a binary arm-none-eabi-gcc? but this binary file is present at this path c:/program files/gnu tool arm embedded/4.7 2012q4/bin/ and i also use this path but i am getting the same problem
the build window show this error Build target 'Target 1' compiling assign2.c... --- Error: failed to execute 'arm-none-eabi-gcc' Target not created
Interesting that you posted the path you used - without noticing that the path didn't include the binary that the IDE complained it couldn't run.
Isn't that the first thing to do when a program can't be run?