linux - Can we convert 32 bit library file to 64 bit library file? -


i have 32 bit library files (.a files) in solaris. porting application 64 bit linux environment. there way convert 32 bit libraries 64 bit or should regenerate libraries in 64 bit?

it not question of 32-bit vs 64-bit. it's question of solaris versus linux. these 2 operating systems have different calling conventions , different abis. means things sizes of data types can different, way compiler puts stuff in registers , on stack function call different, way system calls done different, etc.

it possible convert static library in way want, in cases, need write tools yourself. compiling source way easier, more reliable, , need able @ anyway (otherwise can't fix problems in library, e.g., security issues).


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -