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?
well. the choice wont be made like that. the thing that links the fp to printf is likely a float parameter.
else the code
printf( "Hello, world %f", 10 );
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?)