Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

libc question

Hi!

I've followd the nios wiki

http://nioswiki.jot.com/wikihome/operating...ems/uclinuxdist (http://nioswiki.jot.com/wikihome/operatingsystems/uclinuxdist)

about setting up uClinux.

When trying to compile a previos released program (in Linux), I got messages showing that "pthread.h" was missing. If I look for it, I can see that only uClibc has this include. I've hardly accomplished to compile uClinux with the uClibc (I have not found any guide or wiki to do this, if there's one, please tell me, because maybe I have missed anything).

The fact is that I have loaded the previous uClinux in my target board (the one without uClibc) and my program works! So... I'm suspecting that "pthread.h" was not very essential, or that the functions defined in pthread.h are also in a different include file.

As I have not found many information about libc in uClinux... could anybody help me to understand this? (Or point me to a place where it is explained?)

aLeX
No RepliesBe the first to reply