Karim BELABAS on Tue, 23 Feb 1999 17:15:16 +0100 (MET)


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

Re: Sparc under NextStep installation


[Paul van Wamelen:]
> I just tried to compile 2.0.13 on a Sparc running NextStep with cc (it
> looks like I have gcc, but it does not run on my architecture...) but
> it failed. 2.0.11 worked fine (2.0.12 also fails but for other
> reasons). 2.0.13 also works if I answer no to the optimized kernel (no
> assembler).

This should be fixed by patch number 2 (pari-dev-354). I'm reposting it
below.

   Karim.

======================================================================

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)]

*** 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://hasse.mathematik.tu-muenchen.de/ntsw/pari/