Hi to all,
Can somebody answer please how can I use GNU compiler in Keil uVision3 evaluation version? Just I need for it because of code limitation. As I am aware to get a compiled unlimited code is possible by configuring the Keil uVision for GNU compiler. Also I'll need for using of GNU libs. Tell me please who knows how to do it. Thanks.
Dear Andy,
Even i copied target.ld file into project root directory, i am having the same problem,
startup.o(.text+0xf0):/cygdrive/c/Keil/ARM/GNU/Examples/Blinky/Startup.s:167: undefined reference to '_data'
Please help me
Karuna
"Even i copied target.ld file into project root directory"
It's nothing to do with file location - the message would say something about file location, or file not found, if that were the case.
As previously explained, it's telling you that you have referred to a symbol '_data' but haven't provided any definition for that symbol.
Where do you think that symbol should be defined? Have you checked to see if it is defined?
I would like to express my thanks to all members who has been taken a participation on discussing of this topic. Special thanks to Milos Drutarovsky. Thank you Milos very much for your help. I got the code compiled and linked. I got the hex file and have burned onto target's flash. Unfortunately I couldn’t get the code started on target. I don't know what the reason is? Maybe it has been related to additional options setting for linker? The same project runs while it was compiled by Keil compiler. When I change set the uVision for using of GNU compiler, the code doesn't run on target (LPC2148).