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

Rajeev Thakur thakur at mcs.anl.gov
Fri Dec 16 15:57:03 CST 2011


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



More information about the mpich-discuss mailing list