Re: [HELP] problem while using libgomp with i586-mingw32msvc-gcc

2013-08-27 Thread 闫瑾
Thanks for your suggestion! On Mon, Aug 26, 2013 at 2:32 AM, Bob Proulx wrote: > 闫瑾 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 >

Re: [HELP] problem while using libgomp with i586-mingw32msvc-gcc

2013-08-25 Thread Bob Proulx
闫瑾 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

[HELP] problem while using libgomp with i586-mingw32msvc-gcc

2013-08-25 Thread 闫瑾
HI 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 -fo