Compilation fails (PR#209)

Kurt Hornik Kurt.Hornik@ci.tuwien.ac.at
Mon, 14 Jun 1999 18:34:59 +0200 (CEST)


>>>>> Thomas Vogels writes:

>   (3) g77 croaks on -PIC: for this you may have to blame xmkmf (which
> configure uses.  Try to find out, what the default is.  Follow this example:
>   tmp $ touch Imakefile
>   tmp $ xmkmf
>   imake -DUseInstalled -I/usr/lib/X11/config
>   "./Imakefile", line 1: 1506-229 (W) File is empty.
>   tmp $ grep -i pic Makefile 
>   PICFLAGS = -bM\:SRE
> (Results are for an AIX box.  Your output should look different.)

AIX is not a supported platform yet.  If you tell me which flags (cpic,
fpic, shlib, maybe something extra for producing the main binary) to use
for this platform and the NATIVE compilers, I will gladly tell configure
how to get things right on AIX.

Is it safe to assume that `-fPIC' will do the right thing on all
platforms for gcc and g77?

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._