In LINUX determine if a .a library/archive 32-bit or 64-bit?

前端 未结 5 1853
既然无缘
既然无缘 2021-01-30 07:53

We distribute in Linux a static lib in both 64-bit and 32-bit versions. When troubleshooting a customer, I would like my diagnostic shell script to quickly eliminate the issue

5条回答
  •  春和景丽
    2021-01-30 08:49

    If there are functions that are specific to a particular version you could try nm then grep for the function.

提交回复
热议问题