Thread library

Hello I was wondering if anybody knew how to enable the thread library
in the native gcc compiler on the beagle. when I try to compile some
code I am getting an error...
hellothread.c:(.text+0x84): undefined reference to `pthread_create'
hellothread.c:(.text+0xac): undefined reference to `pthread_join'
I think there are some things missing and i cannot figure out how to
get them installed please let me know if there is a simple
fix....Thanks much.

usually in linking the option -lpthread works for me

Yep that's what it was thanks a bunch!