sanmk4890 schrieb:
> hi, I am using newlib 1.17.0 for an ARM 7 project.
However,there are a
> number of functions in newlib that are not relevant to my project
> eg.printf(),scanf() etc.
> I therefore wish to cut down the library size by removing these
> functions. I am aware writing the appropriate rules in the Makefile
> will do my job. But,being new to Makefiles, I don't exactly know what
> rules to write.
>
> Is there a readymade Makefile available so that I can take some hints
> on what rules to write? Or, if anyone has done such a thing before can
> you please get me started?Referring a site you may know will also be
> great.
Before you learn about Makefiles, read how libraries work !
Frankly, it just a bundle of single files. And if you do not printf in
your code it is completely irrelevant if it is in the library or not.
--
42Bastian
+
| http://www.sciopta.com
| Fastest direct message passing kernel.
| IEC61508 certified.
+