bug-gmp
[Top][All Lists]
Advanced

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

Re: gmp-4.1 solaris9 sparcv9 compile failure


From: NivenHuH
Subject: Re: gmp-4.1 solaris9 sparcv9 compile failure
Date: Thu, 3 Oct 2002 10:57:49 -0500
User-agent: Mutt/1.4i

Actually... the library ended up compiling, however it's not 
functional...

test.c:
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __gmpz_init();

int main() {
__gmpz_init()
; return 0; }


# gcc -lgmp test.c
ld: fatal: file 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2/../../../libgmp.so: wrong ELF 
class: ELFCLASS64
ld: fatal: File processing errors. No output written to a.out
collect2: ld returned 1 exit status

-- 
-NivenHuH
Aim: NivenHuH
Email: address@hidden
Web: http://www.nivenhuh.net

I like you. You remind me of when I was young and stupid.

Amazing words from Kevin Ryde(user42):
*NivenHuH <address@hidden> writes:
*>
*> ld: fatal: file .libs/assert.o: wrong ELF class: ELFCLASS64
*> ld: fatal: File processing errors. No output written to .libs/libgmp.so.3.3.0
*
*Alas -m64 doesn't get through libtool when linking, you should get
*some joy from
*
*       make GMP_LDFLAGS="-Wc,-m64"




reply via email to

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