[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem linking pthreads
- Date: Thu, 22 Dec 2011 11:11:51 -0600
- From: joel.sherrill at OARcorp.com (Joel Sherrill)
- Subject: problem linking pthreads
There is no libthread.a for RTEMS. When configured with pthreads enabled, they are in librtemscpu.a.
You want to configure with rtems threads. We don't want POSIX threads to have to be enabled to get thread safe support in gcc runtimes.
Juan Oviedo <juanoctaviooviedo at gmail.com> wrote:
>If I want to gcc links against pthread (i.e -lpthread), should I mandatorily use the "--enable-threads=POSIX" when configuring gcc? I've used "--enable-threads=rtems" for another project and I cannot find libpthread.a nor libpthread.so..