Hi! Has anybody found this? I'm using gcc 4.01 (latest WinARM) and I'm
compiling for LPC2138 (ARM7). If I use this kind of stuff, constants
don't get to the HEX file:
char *c = "Hello";
or
my_func("Hello");
However, if I use a built-in function like printf or puts, they do!:
printf("Hello");
This only happens with -On, where n != 0.
GuilleMessage
Problems with sting constants and gcc -On
2005-10-17 by Guillermo Prandi