[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: build optimizations
- From: Eric Wing <ewmailing@...>
- Date: Mon, 28 Mar 2011 09:26:31 -0700
Apple is moving away from gcc to clang/llvm. And for the past several
years, the architecture targets have been i386, x86_64, ppc, ppc64,
Rather than putting this into the Makefile, I would much enjoy a wiki
page or something that talks about different build flag optimizations
for different compilers, perhaps with some benchmarks.
Here's a short example of some things I wonder about:
-Os vs. -O2 vs. -O3, what are the size and speed tradeoffs?
dynamic library vs static linking (performance implications on
platforms and architectures)
What other flags make a difference (and on what compilers, platforms,
Beginning iPhone Games Development