Hello,
I'm using Keil uvision V3.62c and I tried to use the GNU V3.22 with uclib to compile the Blinky example. As assembling Startup.s I have the folowing message: arm-uclibc-as: unrecognized option '-gdwarf-2'
The right option should be '--gdwarf2' but I don't know how changing the 'Compiler control string'
here is my compiler control string, using the same (I think) tool chain:
-c -mcpu=arm7tdmi -gdwarf-2 -MD -Wall -O -mapcs-frame -mthumb-interwork -Id:\Keil\ARM\INC\ST\91x\ -o *.o
So it looks like a typo. Either way, you can always build your software using a makefile. You can also try to directly change your project's .htp file.
sorry, you were mentioning your assembler control string! here is mine:
-mcpu=arm7tdmi -gdwarf2 -mthumb-interwork --MD *.d -Id:\Keil\ARM\INC\ST\91x\ -o *.o
so I don't see why you have a problem. can you compile a C file with your current settings?
No problems with compiling c files
are you using the GNU startup file...?
I removed the 'debug Information' in the 'output' tab from the 'target option' and the -gdwarf-2 option was deleted. The startup.s compiles.
Thanks
hello Philippe NIPPERT,
Have you got the program working on Keil Using GCC compilers. Now i 'm facing the same problem. Canu help me.