Ilya Zakharevich on Sat, 14 Feb 1998 21:53:22 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: pari-2.0.5 update


Karim Belabas writes:
> Enjoy!

The patch below makes it compile on OS/2 (I think that the change to
the GLOBL macro is benigh, but please recheck it):

Enjoy,
Ilya

--- ./config/GEN_Makefile.SH~	Mon Jan 19 09:28:48 1998
+++ ./config/GEN_Makefile.SH	Sat Feb 14 01:02:30 1998
@@ -1,10 +1,10 @@
 dir=examples
 name=Makefile.$arch-$osname
 file=$dir/$name
-lnfile=$dir/Makefile
+lnfile=Makefile
 
 echo Extracting $file
-rm -f $file $lnfile
+rm -f $file $dir/$lnfile
 
 case "$runpathprefix" in
   -R)       RUNPTH="-R$runpath";;
@@ -98,4 +98,5 @@ clean:
 	-\$(RM) *.o \$(ALL)
 EOT
 
-$ln_s $name $lnfile
+( cd $dir ; $ln_s $name $lnfile )
+
--- ./Configure~	Sat Feb  7 10:10:50 1998
+++ ./Configure	Sat Feb 14 00:55:06 1998
@@ -409,9 +409,7 @@ if test "$optimization" != profiling; th
     esac
 # Readline -- Headers
     case "$osname" in
-      os2) pth=`echo $C_INCLUDE_PATH | sed 's/\([^;]\)$/\1;/g' | sed 's/;/\/read
-  line /g' | sed 's/\\\\/\//g'` ;;
-
+      os2) pth=`echo $C_INCLUDE_PATH | sed 's/\([^;]\)$/\1;/g' | sed 's/;/\/readline /g' | sed 's/\\\\/\//g'` ;;
       *) pth=' \
       /usr/local/include/readline       \
       /usr/include/readline             \
--- ./src/kernel/ix86/level0asm.h~	Mon Jan 26 12:00:10 1998
+++ ./src/kernel/ix86/level0asm.h	Sat Feb 14 01:28:54 1998
@@ -105,7 +105,7 @@
 #  define FUNEND()                                      }       }
 #else
 #  define TEXT() .text
-#  define GLOBL(name) .globl name
+#  define GLOBL(name) .globl C(name)
 #  define FUNBEGIN(name) C(name##:)
 #  define FUNEND()
 #endif