|
From: | T Kiernan |
Subject: | Re: 64 bit solaris compiler problems |
Date: | Wed, 9 Aug 2006 16:59:46 +0100 |
Hello,
* T Kiernan wrote on Thu, Jul 13, 2006 at 06:39:22PM CEST:
>
> Having some difficult in linking a test prog to some 64 shared libs.
> Getting the following serror message:
> ld: fatal: file libs/xxxx.so: wrong ELF class: ELFCLASS64
> ld: fatal: File processing errors. No output written to testDriver
> *** Error code 1
This is usually a sign that you are trying to link 32- and 64-bit
objects and/or libraries, which simply doesn't work.
For the Sun Compilers, you usually need to specify a flag like
-xarch=v9
or similar to the compiler driver for compilation and linking, to create
64-bit code.
Hope that helps. Please note that this question has nothing to do with
Libtool.
Cheers,
Ralf
[Prev in Thread] | Current Thread | [Next in Thread] |