Option -pthread in test suite with cross compilers

Joel Sherrill joel.sherrill@oarcorp.com
Fri May 18 13:50:00 GMT 2012


On 05/18/2012 08:27 AM, Ian Lance Taylor wrote:
> Ralf Corsepius<ralf.corsepius@rtems.org>  writes:
>
>> I am not sure, but AFAICT, -pthread is Linux-specific.
> It's not properly documented, but -pthread works on a number of hosts,
> including Solaris, Darwin, FreeBSD, NetBSD, OpenBSD, AIX.
Ian.. Is it better to make it a noop for RTEMS or fix the test
infrastructure that is turning it on where it doesn't exist?
> Ian


-- 
Joel Sherrill, Ph.D.             Director of Research&   Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
     Support Available             (256) 722-9985




More information about the Gcc mailing list