Thank you, it did solve the problem.<br><br><div class="gmail_quote">On Fri, Dec 16, 2011 at 10:57 PM, Rajeev Thakur <span dir="ltr"><<a href="mailto:thakur@mcs.anl.gov">thakur@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Try building without the --enable-debuginfo.<br>
<br>
Rajeev<br>
<div><div class="h5"><br>
On Dec 16, 2011, at 10:11 AM, Anton Daneyko wrote:<br>
<br>
> Hello dear MPICH users and developers,<br>
><br>
> I am trying to build MPICH on Cygwin and get the following error, when I run ./configure:<br>
><br>
> Configuring MPICH2 version 1.4.1p1 with '--enable-debuginfo' '--disable-fc'<br>
> Running on system: CYGWIN_NT-6.1-WOW64 antonbaton 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin<br>
> ... here goes a long configure output and in the end:<br>
> checking whether C compiler accepts option -fPIC... no<br>
> checking whether C compiler accepts option -fpic... no<br>
> configure: error: Neither -fpic nor -fPIC accepted by gcc<br>
><br>
> When I try to compile a one line C program, that does return 0; with -fpic and -fPIC options I get the following output:<br>
> anton@antonbaton ~/mpich2-1.4.1p1<br>
> $ gcc -fpic tmp.c<br>
> tmp.c:1:0: warning: -fpic ignored for target (all code is position independent)<br>
><br>
> anton@antonbaton ~/mpich2-1.4.1p1<br>
> $ gcc -fPIC tmp.c<br>
> tmp.c:1:0: warning: -fPIC ignored for target (all code is position independent)<br>
><br>
><br>
> Has anyone encountered a similar error or can suggest a solution to this problem?<br>
><br>
> Best regards,<br>
> Anton Daneyko<br>
</div></div>> _______________________________________________<br>
> mpich-discuss mailing list <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
> To manage subscription options or unsubscribe:<br>
> <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
<br>
_______________________________________________<br>
mpich-discuss mailing list <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
</blockquote></div><br>