|
Hi there
You've done a good job in identifying the underlying issues. However you seem to be using the static switch without learning what it does and why. You should do a web search on "static linking", "dynamic linking", or compilers and linking with libraries.
If you want to actually see the dynamic (or runtime) linking (and all the system calls an application makes), use the 'strace' command.
Your choices for a (small) root file system are:
1. static link the app with uClibc, and have no libs in the rfs
2. or if there are several apps in the embedded product, install uClibc in the rfs and dynamic link your apps.
Regards
|