Question about ubuntu gcc compiler

I installed the build package for ubuntu x86_64, compiling c-programs and C ++ programs works fine, but "Ubuntu linaro" appears in the compiled binary format. is there any way to remove this?

+3
source share
2 answers

If you can figure out which section the line is in (.comment, maybe?), You can use

strip -R .comment (or whatever section name)

to remove this section from the binary.

gcc on Ubuntu 10.10 for x86 does not seem to put any extra lines in binary files.

+2
source

You can delete it using the hex editor. And may I ask why you want to remove it?

+3
source

All Articles