Operating System - HP-UX
1754812 Members
4013 Online
108825 Solutions
New Discussion юеВ

Linking 32 and 64 bit libraries

 
SOLVED
Go to solution
Edward Wynn
Advisor

Linking 32 and 64 bit libraries

Hi,

Can anyone tell me if its possible to link 32 bit and 64 bit libraries together in the same executable ? (I have a 64 bit program that I require to use a third party library which is 32 bit)

Thanks in advance, Eddie
2 REPLIES 2
Dan Hetzel
Honored Contributor
Solution

Re: Linking 32 and 64 bit libraries

Hi Edward,

I'm afraid it's not possible.
This document will surely help you:
http://devresource.hp.com/STK/ia64from11x.html

Best regards,

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
James R. Ferguson
Acclaimed Contributor

Re: Linking 32 and 64 bit libraries

Hi Edward:

No. See:

http://devresource.hp.com/STK/ia64from11x.html#checkwellrest

"Since 32-bit applications can only link with 32-bit libraries and 64-bit applications can only link with 64-bit libraries, if you plan to provide support for both 32-bit applications and 64-bit applications, you must provide both 32-bit and 64-bit versions of your libraries.".

...JRF...