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.
Firstly Translate all the C files "*.C" (or press "Ctrl+F7" keys on your keyboard). Check the Build Output window for errors.
If you don't find any errors, then Build your project (or press "F7" key). Once again check the Build Output window for errors (where you see Target not created). Scroll up the in that window to see the list of errors.
i tried (ctrl+f7).now it is telling error:failed to execute"arm-none-eabi-gcc"
And what conclusions did you draw when you noticed that error message?
What have you tried, based on your conclusions?
And the results of your tries?
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?