[mpich-discuss] Error building (configuring) MPICH on Cygwin

Anton Daneyko self at mezhaka.com
Fri Dec 16 10:11:05 CST 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20111216/f94b293b/attachment.htm>


More information about the mpich-discuss mailing list