
Daniel Oberhoff:
Hi,
Has anyone successfully used boost with the "new" apple gcc 4.2? I would like to since gcc42 has openmp, but I cant seem to be able to use boost. I compiled and installed boost with apple gcc 4.2 by directly using bjam with --toolset=darwin-4.2. When I try to use it I get an error (detailed output of gcc below) which hints towards problems with inline assembly. Actually, to get it compiled at all I had to set -fasm-blocks. Am I missing a flag of sorts? Or is it "just" another woe with apple's modified assembler?
Is the new Apple GCC documented somewhere? I wasn't able to find anything related to a new assembler syntax or -fasm-blocks. Can you ask Apple to explain the issue? Stock g++ 4.2.x compiles the code, so the problem must be Apple-specific.