LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can we convert 32 bit library file to 64 bit library file? (https://www.linuxquestions.org/questions/linux-newbie-8/can-we-convert-32-bit-library-file-to-64-bit-library-file-948569/)

Tinyspark 06-05-2012 01:26 AM

Can we convert 32 bit library file to 64 bit library file?
 
Hi,
I have some library files (.a files) in Solaris. I am porting my application to 64 bit Linux environment. Is there any way to convert the 32 bit libraries to 64 bit or should I regenerate the libraries in 64 bit?

pan64 06-05-2012 02:57 AM

would be much easier to recompile and rebuild that library

chrism01 06-05-2012 06:21 PM

Solaris file formats are completely different to Linux; size eg 32 v 64 is irrelevant.
As pan64 says, if these are files you've generated, then rebuild from src, else get the official equiv from the relevant repo.


All times are GMT -5. The time now is 09:53 PM.