I'm developing S/W for some device which uses Linux O.S. So, the size of libraries (RAM/ROM) which I use is very important.
How can I easily calculate RAM / ROM required by my software? (including libraries I used). I think it's too easy question for experienced Linux developer.
malloc
or has nontrivial call patterns (especially if it has recursion), it's impossible even theoretically to predict how much RAM will be needed for the heap/stack. There are analyzers that work reasonably well at determining the stack requirements for typical embedded programs, but they often don't come cheap. – Odysseus