Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
公告
Important Update: Community Platform Migration​. Learn more​>

decompliling static libraries

Cameron_Crum
初学者
2,069 次查看
I have a problem in that I have have some static libraries that were written several years ago and compiled on 32 bit machines. The person who wrote these for me is now dead and I can't get the orginal source for the libs. I'd like to recompile these into 64 bit. Is there a way to decompile and then recompile into 64 bit?
0 项奖励
2 回复数
Martyn_C_Intel
2,069 次查看
Not to my knowledge. However, you can still build and run 32 bit applications on 64 bit systems. You just can't mix 32 bit and 64 bit objects.
0 项奖励
jimdempseyatthecove
名誉分销商 III
2,069 次查看
You are using FORTRAN
Fortran has available OpenMPI.
You could use OpenMPI and split your FORTRAN program into two processes. One process as 64-bit, the other process as 32-bit. And where the 32-bit contains the code that calls the 32-bit static libraries.

This might be easire to implement than to try to reverse assemble a 32-bit library and also easier (for an inexperienced programmer) than trying to impliment your own messaging system using a memory mapped file.

I consider you investigate OpenMPI.

Jim Dempsey
0 项奖励
回复