Re: Problems g++ library compiling in QNX 6.5.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



bogdan <bceler@xxxxx> writes:

> 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' 
> When I use the -v and -save-temps the result is as follows:

Next time please include the actual command that you are running as
well.  Thanks.

> '-fdiagnostics-show-location=once' '-ffunction-sections' '-fdata-sections' '-g' '-O2' '-fopenmp' '-D' '_GLIBCXX_PARALLEL' 

Using -fopenmp causes gcc to automatically use -pthread by default.  If
you are not using -fopenmp yourself, please open a bug report; see
http://gcc.gnu.org/bugs/ .  Fixing this probably requires defining
GOMP_SELF_SPECS in config/i386/nto.h.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux