Unrecognized options gcc version 4.4.0

Nikos Chantziaras realnc@arcor.de
Thu Sep 17 15:49:00 GMT 2009


On 09/17/2009 05:20 PM, Tovrea, George W (US SSA) wrote:
> tovrea@warhol%printenv CXX
> /home/users/tovrea/local/sgi6/bin/g++
> tovrea@warhol%$CXX -v
> Using built-in specs.
> Target: mips-sgi-irix6.5
> Configured with: /home/users/tovrea/GCC_SGI6/gcc-4.4.0/configure --prefix=/home/users/tovrea/local/sgi6 --enable-shared --with-ld=/home/users/tovrea/local/sgi6/bin/ld --with-as=/home/users/tovrea/local/sgi6/bin/as --enable-bootstrap --enable-languages=c,c++ --enable-version-specific-runtime-libs --enable-cxx=yes --enable-install-libiberty --with-gnu-ld --with-gnu-as --with-gmp=/home/users/tovrea/local/sgi6/lib --with-mpfr=/home/users/tovrea/local/sgi6/lib --with-ppl=/home/users/tovrea/local/sgi6/lib --with-cloog=/home/users/tovrea/local/sgi6/lib
> Thread model: posix
> gcc version 4.4.0 (GCC)
>
> $CXX -o ffmeta ffmeta_main.cc -pthreads $CPPFLAGS -L${HOME}/XERCES_C/sgi6_local/lib $LDFLAGS -lnsl -lxnet -lavformat -lavcodec -lavutil -lx264 -lpthread -lbz2 -lz -lxerces-c
>
> Getting the following "unrecognized options":
> g++: unrecognized option '-pthreads'
> g++: unrecognized option '-no_auto_include'

-no_auto_include isn't a GCC option, it's an option of the MIPSpro C++ 
compiler.

-pthreads is only recognized on the SPARC architecture.



More information about the Gcc-help mailing list