Re: 32-bit libraries in 64-bit build.

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

 



Brian McGrew <brian@xxxxxxxxxxxxx> writes:

> Is there any way of using a 32-bit library in a 64-bit build environment???
> Our entire software build is 64-bit but I need to use a vendors library that
> is only 32-bit and never will be 64-bit.  Any such way of accomplishing this
> task?

No.  If an x86 processor is running in 64-bit mode, then it can not
execute code compiled in 32-bit mode.  The two modes are not compatible.

The closest you can come is to write a 32-bit wrapper program around the
library, run it in a separate process, and use some sort of RPC to
communicate with it.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux