質問

I'm compiling several C/C++ packages from source on Ubuntu. I compare the results from my build to running with the debian install, and find that my executables are slower.

I used readelf -a to compare the two executables. Things like the relocation section for '.rela.dyn' are substantially different, but I'm not sure what documentation I should be looking for to make sense of differences like this.

Does anyone have any advise for trying to tweak gcc to produce executables like the ones I find in the deb package?

役に立ちましたか?

解決

Well, as it is open source, you should get the compile flags they use to generate the executables :)

my2c

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top