[mpich-discuss] Error building (configuring) MPICH on Cygwin
Anton Daneyko
self at mezhaka.com
Fri Jan 6 05:53:12 CST 2012
Thank you, it did solve the problem.
On Fri, Dec 16, 2011 at 10:57 PM, Rajeev Thakur <thakur at mcs.anl.gov> wrote:
> Try building without the --enable-debuginfo.
>
> Rajeev
>
> On Dec 16, 2011, at 10:11 AM, Anton Daneyko wrote:
>
> > Hello dear MPICH users and developers,
> >
> > I am trying to build MPICH on Cygwin and get the following error, when I
> run ./configure:
> >
> > Configuring MPICH2 version 1.4.1p1 with '--enable-debuginfo'
> '--disable-fc'
> > Running on system: CYGWIN_NT-6.1-WOW64 antonbaton 1.7.9(0.237/5/3)
> 2011-03-29 10:10 i686 Cygwin
> > ... here goes a long configure output and in the end:
> > checking whether C compiler accepts option -fPIC... no
> > checking whether C compiler accepts option -fpic... no
> > configure: error: Neither -fpic nor -fPIC accepted by gcc
> >
> > When I try to compile a one line C program, that does return 0; with
> -fpic and -fPIC options I get the following output:
> > anton at antonbaton ~/mpich2-1.4.1p1
> > $ gcc -fpic tmp.c
> > tmp.c:1:0: warning: -fpic ignored for target (all code is position
> independent)
> >
> > anton at antonbaton ~/mpich2-1.4.1p1
> > $ gcc -fPIC tmp.c
> > tmp.c:1:0: warning: -fPIC ignored for target (all code is position
> independent)
> >
> >
> > Has anyone encountered a similar error or can suggest a solution to this
> problem?
> >
> > Best regards,
> > Anton Daneyko
> > _______________________________________________
> > mpich-discuss mailing list mpich-discuss at mcs.anl.gov
> > To manage subscription options or unsubscribe:
> > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
> _______________________________________________
> mpich-discuss mailing list mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120106/2502dabc/attachment.htm>
More information about the mpich-discuss
mailing list