amd64 optimized gcc?
kris at obsecurity.org
Wed May 25 15:17:24 PDT 2005
On Wed, May 25, 2005 at 07:51:04PM +0200, K?vesd?n G?bor wrote:
> As for the optimization, I'm very interested how fast can be an actual
> optimized system. The stock release doesn't optimizes too much, afaik it
> uses -O. I have been experimenting for a while with building the whole
> system with my custom cflags, and yesterday I succeeded. I managed to
> build the whole system with
> CFLAGS=-s -Os -march=athlon64
> COPTFLAGS=-s -Os -march=athlon64
> I might have used -O2 instead of -Os but not -O3 which made a
> compilation error.
This might make you feel good, but unless you're running a CPU-bound
workload you're unlikely to be able to measure any difference.
> The -s is for srtipping the binaries and libs, because this is intended
> to be used on a production system, where we use stable software
> releases, thus we don't need debug symbols
Binaries are already stripped as they're installed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20050525/4d28bd40/attachment.bin
More information about the freebsd-amd64