Guys thanx for keeping the 'printf' thread lively and would especially like to thank Andrew for pointing me out the thing I was overlooking. I'm sort of stuck with another problem. This time its something to with the Error 253. Somehow I was not able to simulate the problem with a dummy program. So really can't pin-point out the problem. The error 253 is popping up with the following arguments: Internal Error(ASMGEN - TRIPLE=02150960) The compiler is dumping it while compiling a line with 'memset' command. I've not failed to include the string.h header file.
I guess the linker errors were of assorted nature. Couple of them because of inappropriate hash definitions. Some others were linked to inconsistent usage of memory areas (I mean variables were defined to reside in some 'x' location but while exporting them to other files I used different memory area 'y'). Regards, Vipin
By "hash definitions" I assume you mean the 'C' preprocessor #define directive? This is a well known source of many "peculiar" errors! To keep your 'extern' declarations & function prototypes in step with the "real" definitions, be sure to put them in header file(s) and #include them where the "real" definitions occur. If they match, everything will be fine; If they don't match, the compiler will give you a "duplicate definition" or "redefinition" or similar warning.
Thanx andrew. I'll take care. Regards, vipin