I installed the build-essential package for ubuntu x86_64, compiling c programs and c++ programs work fine, but in the compiled binary, "Ubu开发者_高级运维ntu linaro" appears. is there a way to remove this?
You can remove it using a hex editor. And may i ask why do you want to remove it??
If you can figure out what section that string is in (.comment maybe?) you can use
strip -R .comment (or whatever section name)
to remove that section from the binary.
gcc on Ubuntu 10.10 for x86 doesn't seem to put any extraneous strings in the binaries.
精彩评论