This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Strip only symbols coming from myfile.o file


Hi to all,

I have a compiled executable file named myfile.exe.

I need strip, from myfile.exe file, ONLY debug symbols coming from a
specified object file (file.o).

To do this I have try the following 2 commands (without any success):

objdump -G file.o > dbgfile     (to store file.o debug symbols in the
dbgfile file)
obj_copy --strip-symbols=dbgfile myfile.exe myfile.exe     (to strip
dbgfile file symbols)


Can someone help me please?

-- 
Best regards...

Fabio Dell'Aria.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]