bug-gmp
[Top][All Lists]
Advanced

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

Re: solaris link problem


From: Torbjorn Granlund
Subject: Re: solaris link problem
Date: 20 Dec 2000 13:55:16 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.6

Ed Thomas <address@hidden> writes:

  libra$ uname -a
  SunOS libra.cus.cam.ac.uk 5.6 Generic_105181-23 sun4u sparc SUNW,Ultra-60
  libra$ gcc -v
  Reading specs from /opt/gnu/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/specs
  gcc version 2.8.1
  
  Here's what I do:
    1) ./configure
    2) I change `define(<GSYM_PREFIX>, <>)' to `define(<GSYM_PREFIX>, <_>)'
       in config.m4

That's probably what causes the trouble.  Don't do that!
(As you note elsewhere, this is only needed sometimes under SunOS 4.
You say you're running SunOS 5.)

  libra$ gcc -Wa,-xarch=v8plus -mcpu=v9 -o go -L. -lgmp go.c
  
I suspect you need -I<src_path> too.  There is probably an old gmp.h
installed somewhere on your system, that the compiler picks up instead
of the proper one.

-- 
Torbjörn



reply via email to

[Prev in Thread] Current Thread [Next in Thread]