Quantcast
Channel: Recent posts
Viewing all articles
Browse latest Browse all 19

Examine objects to determine memory model, relocatable?

$
0
0
English

Is there a way to examine an object (.o or collection .a)
and know what memory model they were compiled with? Or,
if they are compiled as being relocatable?

I've looked at readelf but doesn't give me what
I want or I am missing it.

Getting ld complaints on relocation errors for C modules
but they were compiled with medium memory model and/or
as relocatable (-fPIC). GCC compile gives relocation errors
but compiled with ICC they are relocatable?

I'd like to see what is different about the ICC compiled .o's.


Viewing all articles
Browse latest Browse all 19

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>