
11 May
2012
11 May
'12
10:06 a.m.
On 2012-05-10 23:21, mathog wrote:
g++ buildtool.cpp -o btool -fopenmp btool -j 2
Is there some other trick that is needed for a threaded compile?
The above seems to work for me. But be aware that only the compilation step is done in parallel (as far as I can tell). So linking for example is not done in parallel.
(BTW, you mentioned using MingW, I'm assuming you're using a recent version of TDM's gcc.)