This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Gcc 32-bits or 64-bits
- From: Jack Cummings <jack at ice dot mudshark dot org>
- To: Gerardo Javier Oliva Galvan <gerardo_oliva at yahoo dot com>
- Cc: gcc at gnu dot org, gcc at gcc dot gnu dot org
- Date: Tue, 27 Nov 2001 09:36:28 -0800
- Subject: Re: Gcc 32-bits or 64-bits
- References: <20011127170559.36756.qmail@web9503.mail.yahoo.com>
On Tue, Nov 27, 2001 at 09:05:59AM -0800, Gerardo Javier Oliva Galvan wrote:
> /usr/bin/ld: /inc21_ora01/app/oracle/product/9.0.1/lib//libclntsh.sl: Mismatched ABI. 64-bit PAshared library found in 32-bit link.
> *************************************************************************************
> My boss is bugging me to see if the compiler is compiled for 32-bit or 64-bit environment.
> Is this possible? is there a way to know how the compiler is running?
> In your experience have you seen this kind of problem?
> We opened a call with oracle , they have a week on this and i wan to finis them all.
The problem here is that you can't mix 32 bit and 64 bit binares.
It would appear that /inc21_ora01/app/oracle/product/9.0.1/lib//libclntsh.sl is a 64 bit
binary, the file command will tell you for sure.
The options are:
1) use a 64 bit gcc.
2) find a 32 bit version of the library.
--Jack