闫瑾 wrote:
> I am using i586-mingw32msvc-gcc to cross compile Windows program on Debian
> 7.1.0.
> 
> I test a very simple code:
> 
> int main(int argc, char* argv[])
>  {
>   #pragma omp parallel
>    printf("Hello, world.\n");
> 
>    return 1;
>  }
> 
> when I compile it with -fopenmp, I found an error:
> $ i586-mingw32msvc-gcc -fopenmp /home/kinian/omp.c -o /home/kinian/omp.exe
> i586-mingw32msvc-gcc: libgomp.spec: no such file or directory

I don't know.  I suggest that you ask on the mingw32 users mailing
list.  Someone there will be more likely to have an idea.

Here is pointer to their mailing list information.

  http://www.mingw.org/mailing_lists

Bob

Reply via email to