# Remove unneeded modules from linking

**URL:** <https://forums.digi.com/t/remove-unneeded-modules-from-linking/6032>\
**Category:** NET+OS\
**Created:** [September 27, 2010, 11:28am UTC](https://forums.digi.com/t/remove-unneeded-modules-from-linking/6032 "2010-09-27T11:28:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sz.tarnowski](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@sz.tarnowski](https://forums.digi.com/u/sz.tarnowski)\
**Post date:** [September 27, 2010, 11:28am UTC](https://forums.digi.com/t/remove-unneeded-modules-from-linking/6032/1 "2010-09-27T11:28:39Z")

</div>

Hi, I would like to remove some of modules from linking to final image file. For example libftpsvr, libssh, libemail etc. They are not indicated (\*) as required, but when I remove them from project and click apply and ok, next time they appear again. How to remove them, or disable automatic “adding” them to project?

---

<div class="post-metadata">

**Author:** ![dakotas\_dad](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@dakotas\_dad](https://forums.digi.com/u/dakotas_dad)\
**Post date:** [September 27, 2010, 1:36pm UTC](https://forums.digi.com/t/remove-unneeded-modules-from-linking/6032/2 "2010-09-27T13:36:09Z")

</div>

Is there a reason you need to remove them? If you are not using APIs from a library, there is no code included in your footprint. Thus I do not believe there is any harm in leaving libs listed that you are not using.

---

<div class="post-metadata">

**Author:** ![sz.tarnowski](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@sz.tarnowski](https://forums.digi.com/u/sz.tarnowski)\
**Post date:** [September 28, 2010, 10:31am UTC](https://forums.digi.com/t/remove-unneeded-modules-from-linking/6032/3 "2010-09-28T10:31:34Z")

</div>

I don’t think so, for example I do not use emails and ftp in my project but in object dump of final elf image I can see functions:

- PrPop3ClientFiniteStateMachine
- PrStartPop3
- naftp\_data\_connections
- naftp\_start\_timer  
etc.  
My question is how to remove it. I am working now on minimalisation of project file size.
