Is there a way to compute the RO, RW and ZI sizes from a .lib file? I know linker produces a map file, but instead of waiting for the end product, would like to see if there is a way to simply process the .lib (using nm, readelf or something like that) to get that data.
thanks