On a Mac, using GCC's global -static is bad, so that doesn't work out.
However, as it turns out, -static-libgcc implies all parts of libgcc,
including libgomp. So, building with -static-libgcc -static-libstdc++
looks like the best solution.
Rob
On Thu, Apr 30, 2015 at 2:19 PM, Rob McDonald wr
I'm using MacPorts GCC 4.8 and CMake 3.2.
I use 'FIND_PACKAGE( OpenMP )', and then use OpenMP_C_FLAGS and
OpenMP_CXX_FLAGS appropriately.
My application works on the machine that I build on. However, users
without MacPorts GCC installed can't find libgomp.1.dylib on their
machine.
I'd like to t