--- rpl/README 2010/09/07 12:54:03 1.13 +++ rpl/README 2012/04/07 16:39:04 1.20 @@ -27,7 +27,9 @@ symbolic and scientific computations. tools/file-*/Makefile.am; - gcc-4.4 or newer; - g++-4.4 or newer; - - gfortran-4.4 or newer. + - gfortran-4.4 or newer; + - bash in /bin/bash. To build RPL/CAS on NetBSD, you have to add a soft link + like 'ln -s /usr/pkg/bin/bash /bin/bash'. RPL/2 build process invoques automake and autoconf. @@ -38,6 +40,19 @@ error related to OpenSSL, you shall try 'make'. On some system, OpenSSL configure script is unable to set compiler flags. + * RPL/2 cross compilation : + + To cross-compile RPL/2, you have to build in a first time a native + RPL/2 on build host. Installation is not required. In a second time, + you have to configure RPL/2 for target host in another directory like : + +../rpl/configure --host=arm-unknown-linux-gnueabi --enable-full-static +--with-sysroot=/home/bertrand/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot +--without-mysql --without-postgresql +--with-rpltools=/home/bertrand/cvs/rpl/build --with-openssl-arch=linux-generic32 + + Of course, you have to configure OpenSSL with --with-openssl-arch. + * RPL/2 is known to run on : - Linux (kernel 2.6.26 and beyond). Test distribution is Debian. @@ -54,7 +69,18 @@ flags. - OpenBSD 4.8 and beyond. - Windows with Cygwin (>= 1.7.5). - OS/2 and eComStation with EMX (>= 0.9d). You probably have to - recreate configure script and makefiles with autoreconf. + recreate configure script and makefiles with aclocal, autoconf and + automake. + ======================================================================== + WARNING : eCS DEFINES TMP VARIABLE THAT OVERWRITES PATHS + IN FOPEN() SYSTEM CALL. /TMP/xxx IS REPLACED BY /%TMP%/xxx. + THIS BUG ONLY OCCURS WHEN RPL/2 IS CALLED FROM OS/2 OR 4OS2 SHELL. + WORKAROUND : DEFINE RPL_TMP_PATH WITH A DRIVE LETTER LIKE + + SET RPL_TMP_PATH=C:/tmp + + OR CALL RPL/2 FROM A BOURNE SHELL. + ======================================================================== - Mac OS X. * RPL/2 should run on : @@ -115,4 +141,10 @@ rpl: ELF 64-bit MSB executable SPARCV9 V Very easy^Wnice, isn't it ? + * OS/2 and eComstation + + GSL configure script is broken. You have to replace + $(SHELL) $(top_buildir)/libtool by sh $(top_buildir)/libtool in each + Makefile. By default, makefile's try to use ash.exe that is broken. + J. Bertrand