GCC compiler on Mac OS X 10.4.6 Tiger (Darwin) does not have -pthread or -pthreads options.
-------------------------------------------------------------------------------------------
Key: STDCXX-191
URL: http://issues.apache.org/jira/browse/STDCXX-191
Project: C++ Standard Library
Type: Bug
Components: Build
Versions: 4.1.3, 4.1.4
Environment: Darwin machine.local 8.6.1 Darwin Kernel Version 8.6.1: Tue Mar 7 16:55:45
PST 2006; root:xnu-792.9.22.obj~1/RELEASE_I386 i386 i386
Reporter: Eric Lemings
machine:~/Work user$ svn co http://svn.apache.org/repos/asf/incubator/stdcxx/trunk stdcxx
A stdcxx/generate.bat
A stdcxx/LICENSE.txt
A stdcxx/tests
A stdcxx/tests/tr1.util
...
A stdcxx/examples/manual/memfunc.cpp
A stdcxx/examples/manual/io_iter.cpp
A stdcxx/examples/manual/partsum.cpp
Checked out revision 410614.
machine:~/Work user$ cd stdcxx
machine:~/Work/stdcxx user$ make BUILDMODE="debug,shared,pthreads" CONFIG=gcc.config
creating BUILDDIR=/Users/user/Work/stdcxx/build
generating /Users/user/Work/stdcxx/build/makefile.in from /Users/user/Work/stdcxx/etc/config/gcc.config
make config
configuring for gcc-4.0.1 on darwin-8.6.1-i386
checking if the compiler is sane ok (invoked with gcc)
checking if the linker is sane ok (invoked with gcc)
checking system architecture ILP32 little endian
...
touch config.h
generating dependencies for $(TOPDIR)/src/atomic-cxx.S
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
generating dependencies for $(TOPDIR)/src/wctype.cpp
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
generating dependencies for $(TOPDIR)/src/wcodecvt.cpp
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|