I am having a two c program file temp1.c and temp2.c. I compiled and generated dot o files for this temp1.o and temp2.o. After that I genrated final.o and final.a by combining these two dot o files. Now these two static libraries are working fine.
Now nm report of final.a is displaying all file names and symbols. But nm report of final.o is not displaying filenames, its displaying only symbols.
What is the way to get the list of file names which I used for creating final.o.
If we create
.afile from.ofiles(temp1.oandtemp2.o) then the.awill have the file name of all.ofiles and its content. But while creating.ofrom some.ofiles, then it will contain only content of all.ofiles and the file names of each.owill not be present.