Skip to content
Prev 18555 / 63424 Next

[PATCH] Add fpicflags for Intel(R) Fortran Compiler (PR#8344)

1) The documented way to specify this is to set FPICFLAGS in config.site: 
see the example in R-admin for the PG compilers.  When you tried that, 
what went wrong?

2) It seems strange to specify this for the Fortran compiler and not the C 
or C++ compiler.

3) You have suggested the change to a section for all OSes.  Do you know 
for sure that all compilers called 'ifort' on all OSes need the -fPIC 
flag?  Or is it really just for Linux (and AFAICS, just x86_64 Linux, as 
i386 Linux seems to work with icc/ifort without it).
On Tue, 22 Nov 2005 kugelfang at gentoo.org wrote: