32 bit libraries in a 64 bit world?
Nikos Chantziaras
realnc@arcor.de
Fri Aug 14 05:40:00 GMT 2009
On 08/14/2009 02:31 AM, Brian McGrew wrote:
> Good afternoon y¹all! I¹ve asked this question once before, so forgive me,
> but I never got a conclusive answer and now it¹s time that I have to make
> something happen :-)
>
> We've ported our applications from Fedora Core 5 32 bit to CentOS 5.3 x86_64
> and so far our own code is working great.
>
> Now we need to link to a set of third party libraries that are 32 bit and
> since the vendor is in the middle of bankruptcy they're not going to port
> the code for us and getting the source code is even more of a stretch.
>
> Is there anything I can do? Some kind of a wrapper or conversion program or
> something??? These are dynamic libraries I'm linking to using the standard
> gcc-4.1.2 that comes with the machine. If I need to upgrade gcc or other
> libraries on the box, I can do that too.
The only practical solution is to build your applications as 32-bit apps
("-m32" GCC switch.)
More information about the Gcc-help
mailing list