- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hippo,
Can you tell me the reason for building the kernel without using uClibc ? It seems that to compile gdb, i have to build the kernel with uClibc ... Please explain ... Thanks.Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Actually kernel does not need uClibc.
But the user apps do. The nios2-linux-uclibc-gcc is the same compiler as nios2-elf-gcc. But we build it (using buildroot) again uClibc for uClinux instead of the newlib. The nios2gcc.tar.bz2 has uClibc already. So we don't use the uClibc build in the uClinux-dist. But you can still use the uClibc of uClinux-dist. You can use nios2-elf-gcc and need to add nostdinc, nostdlib and crt0.... flags to arch.config . You can find these flags in the make rule of Microtronix's 1.4 release or the other arch in uClinux-dist. That's what we did without buidlroot. There is a "debug" apps in Microtronix's 1.4 release.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hippo,
I saw the "debug" in Microtronix 1.4, but just do not know how to use it ... Are there documentations around ? Thanks.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sorry, I don't know. it looks like doing a syscall to kernel, you may trace the syscall.

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