Skip to content
Prev 629 / 63421 Next

R-alpha: R-adventure

I am trying to port R to OS/2 and XFREE86.  I have XFREE86 for OS/2
up and running and a lot the unix utilities, sh, ksh, tcsh, awk sed etc.

I have not been able to make configure running.  I have therefore
patched the makefiles manually and gotten through most of them.
All in the src-directory except /src/main/makefile at the moment
the beginning of it looks like this:

CC=gcc
CFLAGS=-g -I../include
LDCMD=
DLLFLAGS=
PICFLAGS=
SHLIBLDFLAGS=
LIBS=-lf2c  -lm
X_CFLAGS=-I/xfree86/include
X_LIBS=-L/xfree86/lib -lX11
X_EXTRA_LIBS=
X_PRE_LIBS=
FC=g77

What should these flags be?  I have guessed in the other makefiles.
For example there is no ranlib so I use ar S, which seems to work.

I have been told by experts that I should also look out for

platform.h

How should that one be in my case.

I am using the GNU-EMX gcc compiler together with g77.

sincerely yours

Helgi Tomasson