This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
I am trying to compile a program that uses Boost libraries with GCC's parallel extensions, but I get linking errors. In particular, if I compile without the flags "-fopenmp -D_GLIBCXX_PARALLEL", then everything works fine. However, if I add those two flags, I get the error below. Actually, to be specific the error appears when I add -D_GLIBCXX_PARALLEL, -fopenmp by itself does not cause problems. I suspect the problem comes from the fact that Boost was compiled without -D_GLIBCXX_PARALLEL.
I was wondering if there was a way to work around this problem, since in this example I don't need the parallel extensions in the part of the code that uses Boost (in this case just for command line parsing).
-- Marc Glisse
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |