I was wondering if there is a way to exclude the floating point libraries using calls to printf while I am using fixed point math and have no need for floating point math?
Yes - that's why you can do this in the Free Eval:
printf( "Hello, world %d", 10 );
But not this:
printf( "Hello, world %f", 10 );
Anyhow, the Map file shoul show where any FP is getting used...?
well. the choice wont be made like that. the thing that links the fp to printf is likely a float parameter.
else the code
could be circumfented by sumthing like
. . char buf[64]; char *dummy; strcpy(buf,"Hello, world %f"); dofrig(buf); . . void dofrig ( const char * dummy ) { printf( dummy, 10 ); }
point is compiler puts necesary info into obj for linker to make intelagint decision. the librery function knows squat didley.
Always yo're freind.
Zeusti
(wondering what fellow expert will wine about code layout and acurecy and miss the point?)