On Thu, Oct 8, 2009 at 3:47 AM, Tim Kroeger <tim.kroeger at cevis.uni-bremen.de > wrote:
> Dear all, > > On a 64-bit system, I need to compile with the option "-fPIC" to be able to > link with my application. I configured PETSC with "--with-pic=fPIC", but > still it seems to call the gfortran compiler with "-PIC" rather than "-fPIC" > for some or all fortran source files. The compiler does not understand the > "-PIC" option, hence prints an error message and exits. How can I tell > PETSc to use "-fPIC" instead? > 1) --with-pic only turns this check on and off. It does not take a flag 2) You must send the configure.log or we have no way of knowing what is going on. Send it to petsc-maint Matt > Best Regards, > > Tim > > -- > Dr. Tim Kroeger > tim.kroeger at mevis.fraunhofer.de Phone +49-421-218-7710 > tim.kroeger at cevis.uni-bremen.de Fax +49-421-218-4236 > > Fraunhofer MEVIS, Institute for Medical Image Computing > Universitaetsallee 29, 28359 Bremen, Germany > > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20091008/6437cb60/attachment.htm>
