From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12408 invoked by alias); 19 Feb 2011 14:01:52 -0000 Received: (qmail 12399 invoked by uid 22791); 19 Feb 2011 14:01:51 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=BAYES_00,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,TW_BF,TW_CX,TW_DC,TW_GX X-Spam-Check-By: sourceware.org Received: from smtpo21.poczta.onet.pl (HELO smtpo21.poczta.onet.pl) (213.180.142.152) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 19 Feb 2011 14:01:45 +0000 Received: from pkn7.m5r2.onet (pkn7.m5r2.onet [10.174.32.168]) by smtp.poczta.onet.pl (Onet) with ESMTP id 0F69720075B68 for ; Sat, 19 Feb 2011 15:01:42 +0100 (CET) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received: from [195.205.221.230] by pkn7.m5r2.onet via HTTP id 201101191501311726010001; Sat, 19 Feb 2011 15:01:42 +0100 From: bogdan To: gcc-help@gcc.gnu.org Date: Sat, 19 Feb 2011 15:22:00 -0000 Message-Id: <16383278-caecaa0d943d9f85deb170ef9c9fb9ae@pkn7.m5r2.onet> Subject: Problems g++ library compiling in QNX 6.5.0 X-Onet-PMQ: ;195.205.221.230;PL;1 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-02/txt/msg00296.txt.bz2 I'm getting problems with g++ library compiling in QNX 6.5.0 When I compile a program /src/gcc-4.6-20110212/nto-x86/i486-pc-nto-qnx6.5.0= /libstdc++-v3/src/parallel_settings.cc I get an error: xgcc: error: unrecognized option '-pthread'=20 When I use the -v and -save-temps the result is as follows: Reading specs from /src/gcc-4.6-20110212/nto-x86/./gcc/specs COLLECT_GCC=3D/src/gcc-4.6-20110212/nto-x86/./gcc/xgcc COLLECT_LTO_WRAPPER=3D/src/gcc-4.6-20110212/nto-x86/./gcc/lto-wrapper xgcc: error: unrecognized option '-pthread' Target: i486-pc-nto-qnx6.5.0 Configured with: ../configure with_gmp=3D/usr/pkg --srcdir=3D.. --enable-ch= eaders=3Dc=20 --with-as=3D/usr/qnx650/host/qnx6/x86/usr/bin/ntox86-as=20 --with-ld=3D/usr/qnx650/host/qnx6/x86/usr/bin/ntox86-ld --with-sysroot=3D/= usr/qnx650/target/qnx6/ --disable-werror=20 --libdir=3D/usr/qnx650/host/qnx6/x86/usr/lib --libexecdir=3D/usr/qnx650/ho= st/qnx6/x86/usr/lib=20 --target=3Di486-pc-nto-qnx6.5.0 --srcdir=3D/src/gcc-4.6-20110205/nto-x86-o= -ntox86/.. --prefix=3D/usr/qnx650/host/qnx6/x86/usr=20 --exec-prefix=3D/usr/qnx650/host/qnx6/x86/usr --with-local-prefix=3D/usr/q= nx650/host/qnx6/x86/usr=20 --enable-languages=3Dc,ada,c++,objc,obj-c++,fortran --enable-threads=3Dpos= ix --enable-libada --disable-nls --enable-libssp --disable-tls=20 --with-ppl=3D/usr/local --enable-libgomp --enable-libffi --enable-libmudfl= ap --enable-__cxa_atexit --disable-libstdcxx-pch=20 --with-gxx-include-dir=3D/usr/include/c++/4.6.0 --enable-multilib --with-b= ugurl=3Dhttp://www.qnx.com --with-included-gettext=20 --program-suffix=3D-4.6.0 --enable-version-specific-runtime-libs --enable-= shared --disable-bootstrap=20 CC=3Di486-pc-nto-qnx6.5.0-gcc CPPFLAGS=3D' -I/usr/qnx650/target/qnx6/usr/i= nclude' LDFLAGS=3D CXX=3Di486-pc-nto-qnx6.5.0-g++=20 AUTOMAKE=3D: AUTOCONF=3D: AUTOHEADER=3D: AUTORECONF=3D: ACLOCAL=3D: Thread model: posix gcc version 4.6.0 20110205 (experimental) (GCC)=20 COLLECT_GCC_OPTIONS=3D'-v' '-save-temps' '-shared-libgcc' '-B' '/src/gcc-4.= 6-20110212/nto-x86/./gcc' '-nostdinc++'=20 '-L/src/gcc-4.6-20110212/nto-x86/i486-pc-nto-qnx6.5.0/libstdc++-v3/src'=20 '-L/src/gcc-4.6-20110212/nto-x86/i486-pc-nto-qnx6.5.0/libstdc++-v3/src/.lib= s'=20 '-B' '/usr/qnx650/host/qnx6/x86/usr/i486-pc-nto-qnx6.5.0/bin/'=20 '-B' '/usr/qnx650/host/qnx6/x86/usr/i486-pc-nto-qnx6.5.0/lib/'=20 '-isystem' '/usr/qnx650/host/qnx6/x86/usr/i486-pc-nto-qnx6.5.0/include'=20 '-isystem' '/usr/qnx650/host/qnx6/x86/usr/i486-pc-nto-qnx6.5.0/sys-include'= =20 '-I' '/src/gcc-4.6-20110212/nto-x86/i486-pc-nto-qnx6.5.0/libstdc++-v3/inclu= de/i486-pc-nto-qnx6.5.0'=20 '-I' '/src/gcc-4.6-20110212/nto-x86/i486-pc-nto-qnx6.5.0/libstdc++-v3/inclu= de'=20 '-I' '/src/gcc-4.6-20110205/libstdc++-v3/libsupc++' '-fno-implicit-template= s' '-Wall' '-Wextra' '-Wwrite-strings' '-Wcast-qual'=20 '-fdiagnostics-show-location=3Donce' '-ffunction-sections' '-fdata-sections= ' '-g' '-O2' '-fopenmp' '-D' '_GLIBCXX_PARALLEL'=20 '-I' '/src/gcc-4.6-20110212/nto-x86/i486-pc-nto-qnx6.5.0/libstdc++-v3/../li= bgomp'=20 '-c' '-fPIC' '-shared' '-D' 'PIC' '-o' '.libs/parallel_settings.o' '-mtune= =3Di486' '-march=3Di486' '-pthread'=20 Please help. Why do I get '-pthread' in COLLECT_GCC_OPTIONS. I try not to u= se the -pthread in QNX Bogdan Celer