Karim BELABAS on Fri, 18 Dec 1998 12:04:31 +0100 (MET)


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

2.0.13 - patch 2 (Sun/SPARC)


System specific: Sun/SPARC, no gcc.

Apply this patch if you can't compile gp on a SPARC architecture (missing
kernel symbols during final link). This should occur iff you don't have gcc
on your machine.

[was introduced when trying to get rid of the bug reported by Ilya in
msg 266 (GNU ld + empty object file)]

Karim.

*** src/kernel/sparcv8/Makefile.SH.orig Thu Dec 17 18:35:07 1998
--- src/kernel/sparcv8/Makefile.SH      Thu Dec 17 18:41:29 1998
***************
*** 12,18 ****
  #   (Why, I don't know -- Ptitboul)
  
  # Level 1 kernel is the C generic one
! if test -z __gnuc__; then
    kernel="$kernel kernel2"
  fi
  
--- 12,18 ----
  #   (Why, I don't know -- Ptitboul)
  
  # Level 1 kernel is the C generic one
! if test -z "$__gnuc__"; then
    kernel="$kernel kernel2"
  fi
--
Karim Belabas                    email: Karim.Belabas@math.u-psud.fr
Dep. de Mathematiques, Bat. 425
Universite Paris-Sud             Tel: (00 33) 1 69 15 57 48
F-91405 Orsay (France)           Fax: (00 33) 1 69 15 60 19
--
PARI/GP Home Page: http://pari.home.ml.org