This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Option -pthread in test suite with cross compilers
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 18 May 2012 09:24:18 +0200
- Subject: Option -pthread in test suite with cross compilers
Hi,
if I run the ARM GCC test suite for C and C++ with the arm-rtemseabi4.11
target, then I get several unexpected errors due to:
gcc/testsuite/gcc/gcc.log:xgcc: error: unrecognized command line option '-pthread'
gcc/testsuite/g++/g++.log:g++: error: unrecognized command line option '-pthread'
The -pthread option is not necessary in RTEMS for the pthread API. I don't
think that a special case in the test suite is desirable, thus we should add a
dummy -pthread option to the RTEMS target configurations. Is this possible?
In which file do I have to look for this?
--
Sebastian Huber, embedded brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.