OpenMP with gcc4?

2010-05-27 Thread Andreas Kahari
Hi list, With the move to gcc4, will we at some point also get OpenMP support? This seems to be broken at the moment: $ cat omp-test.c int main(void) { int i; int a[100]; #pragma omp parallel for for (i = 0; i 100; ++i) { a[i] = i*i; } return 0; } $ cc -fopenmp -o omp-test

Re: OpenMP with gcc4?

2010-05-27 Thread Joachim Schipper
On Thu, May 27, 2010 at 04:17:38PM +0100, Andreas Kahari wrote: Hi list, With the move to gcc4, will we at some point also get OpenMP support? This seems to be broken at the moment: Why do you want that? It's not terribly useful with the current state of threading on OpenBSD...