Re: [HELP] problem while using libgomp with i586-mingw32msvc-gcc
闫瑾 <[email protected]> Tue, 27 Aug 2013 20:49:08 +0800
| Newsgroups | gmane.comp.gnu.utils |
|---|---|
| Message-ID | <CAKEW5NhdGjQb1O90vq2cH=qoMKOMzMU-3_3cXV8MSE+ndfvJPQ@mail.gmail.com> |
--089e012279ac7e5a5304e4ed4cd0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks for your suggestion! On Mon, Aug 26, 2013 at 2:32 AM, Bob Proulx <[email protected]> wrote: > =E9=97=AB=E7=91=BE 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 > --089e012279ac7e5a5304e4ed4cd0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Thanks for your suggestion!</div><div class=3D"gmail_extra= "><br><br><div class=3D"gmail_quote">On Mon, Aug 26, 2013 at 2:32 AM, Bob P= roulx <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_bl= ank">[email protected]</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"><div class=3D"im">=E9=97=AB=E7=91=BE wrote:<= br> > I am using i586-mingw32msvc-gcc to cross compile Windows program on De= bian<br> > 7.1.0.<br> ><br> > I test a very simple code:<br> ><br> > int main(int argc, char* argv[])<br> > =C2=A0{<br> > =C2=A0 #pragma omp parallel<br> > =C2=A0 =C2=A0printf("Hello, world.\n");<br> ><br> > =C2=A0 =C2=A0return 1;<br> > =C2=A0}<br> ><br> > when I compile it with -fopenmp, I found an error:<br> > $ i586-mingw32msvc-gcc -fopenmp /home/kinian/omp.c -o /home/kinian/omp= .exe<br> > i586-mingw32msvc-gcc: libgomp.spec: no such file or directory<br> <br> </div>I don't know. =C2=A0I suggest that you ask on the mingw32 users m= ailing<br> list. =C2=A0Someone there will be more likely to have an idea.<br> <br> Here is pointer to their mailing list information.<br> <br> =C2=A0 <a href=3D"http://www.mingw.org/mailing_lists" target=3D"_blank">htt= p://www.mingw.org/mailing_lists</a><br> <span class=3D"HOEnZb"><font color=3D"#888888"><br> Bob<br> </font></span></blockquote></div><br></div> --089e012279ac7e5a5304e4ed4cd0--