[uClinux-dev] enable pthread_create on in MCF5275
simon.guinot at laposte.net
Sat Oct 15 03:30:14 EDT 2005
On Thu, 13 Oct 2005 02:20:33 -0600
"Jordan Fuerst" <jfuerst at freewave.com> wrote:
> Is there something I can do to enable multithreading via the
> pthread_create on the MCF5275? I have added the -lpthread to the
> compiler arguments but still get errors... After reading through some
> older posts it turns out that the config.uClibc file has threading set
> to "not set"
> Is threading capability supported for the MCF5275? If so how do I turn
> it on?
when you build uClibc, ensure you have UCLIBC_HAS_THREADS=y in the .config file...
to compile an application with pthread, just give the pthread librairy path (-L$(UCPATH)/uClibc/libpthread) and use -lpthread
More information about the uClinux-dev