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">&lt;<a href=3D"mailto:[email protected]" target=3D"_bl=
ank">[email protected]</a>&gt;</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>
&gt; I am using i586-mingw32msvc-gcc to cross compile Windows program on De=
bian<br>
&gt; 7.1.0.<br>
&gt;<br>
&gt; I test a very simple code:<br>
&gt;<br>
&gt; int main(int argc, char* argv[])<br>
&gt; =C2=A0{<br>
&gt; =C2=A0 #pragma omp parallel<br>
&gt; =C2=A0 =C2=A0printf(&quot;Hello, world.\n&quot;);<br>
&gt;<br>
&gt; =C2=A0 =C2=A0return 1;<br>
&gt; =C2=A0}<br>
&gt;<br>
&gt; when I compile it with -fopenmp, I found an error:<br>
&gt; $ i586-mingw32msvc-gcc -fopenmp /home/kinian/omp.c -o /home/kinian/omp=
.exe<br>
&gt; i586-mingw32msvc-gcc: libgomp.spec: no such file or directory<br>
<br>
</div>I don&#39;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--