From: Ian Lance Taylor <iant@google.com>
To: bogdan <bceler@op.pl>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Problems g++ library compiling in QNX 6.5.0
Date: Sun, 20 Feb 2011 07:30:00 -0000 [thread overview]
Message-ID: <mcr1v337ssj.fsf@google.com> (raw)
In-Reply-To: <16383278-caecaa0d943d9f85deb170ef9c9fb9ae@pkn7.m5r2.onet> (bogdan's message of "Sat, 19 Feb 2011 15:01:42 +0100")
bogdan <bceler@op.pl> 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
prev parent reply other threads:[~2011-02-19 19:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-19 15:22 bogdan
2011-02-20 7:30 ` Ian Lance Taylor [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=mcr1v337ssj.fsf@google.com \
--to=iant@google.com \
--cc=bceler@op.pl \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).