- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
Following the guide uClinuxDist, i am in the menu (make menuconfig). I wonder why do i have to select "Libc Version" to "none" ? Actually, if no library is available in the kernel, no programs (compiled separatly) will run on the embedded board.Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The NoMMU version of uCLinux NIOS does not support so libraries, so there is no "compiled separately".
-Michael- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think i have understand, Michael.
There is no dynamic library (.so) in the NoMMU version of uCLinux for NIOSII because we select none in the libc menu. So the programs that will run on the board can't use dynamic libraries. They have to use a static library : the uclibc compiled with the cross toolchain, the uclibc library archive (.a). And the resulting compilation of the program is so bigger than with dynamic libraries. Is it right ?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
AFGAIK, this is correct, but with small embedded devices there there usually are not many different programs (Busybox help to make this happen). And the combined size of a dynamically linked program and the necessary so files usually is a lot bigger than the statically linked program. So here dynamical linking does not make much sense.
-Michael
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page