[VSDK] Framework prebinding
Eric Forget
forgete at cafederic.com
Wed Dec 3 15:17:16 CST 2003
Hi Totte,
> I would like to add some stuff I learned on the
> Apple Optimization Kitchen/Workshop I attended just two weeks ago.
Did Apple provided some HTML/PDF doc available for those who didn't attend
it?
> In the Build Style panel, do the following settings:
>
> OTHER_CFLAGS = "-falign-loops=16 -funroll-loops"
I believe that -falign-loops=32 is better for G5:
<http://developer.apple.com/technotes/tn/tn2087.html>
> GCC_ALTIVEC_EXTENSIONS = YES
Won't that prevent for running on G3? All iBooks, all old iMacs, etc...
> COPY_PHASE_STRIP = YES
> GCC_OPTIMIZATION_LEVEL = 3
>From what I understand:
GCC_OPTIMIZATION_LEVEL Optimization Level
3 Fastest
s Fastest, smallest
So you are sure it is not better to use "s" (or Fastest, smallest). From
apple doc:
<http://developer.apple.com/documentation/Performance/Conceptual/CodeFootpri
nt/Concepts/CompilerOptions.html>
It says:
Fastest
-------
Performs all optimizations in an attempt to improve the speed of the
generated code. This option can increase the size of generated code as the
compiler performs aggressive inlining of functions.
This option is generally not recommended. See ³Avoid Excessive Function
Inlining² for more information.
Fastest, smallest
-----------------
Performs all optimizations that do not typically increase code size. This is
the preferred option for shipping code as it gives your executable a smaller
memory footprint.
Just wondering what Apple said about that at the Kitchen?
> For G4 also use:
> GCC_MODEL_CPU = G4
> GCC_MODEL_TUNING = G4
>
> for G5, also use;
> GCC_MODEL_CPU = G5
> GCC_MODEL_TUNING = G5
I think that for customer app, right now, we should use G4. For Pro, G5.
Maybe, the server (V.2) should use G5, but for the current kernel, G4?
> GCC_MODEL_PPC64 = YES
That will make it none executable on G4, don¹t it?
Éric
___________________________________________________________________
Eric Forget Cafederic
ForgetE at cafederic.com <http://www.cafederic.com/>
Fingerprint <86D5 38F5 E1FD 5D9C 71C3 BAA3 797E 70A4 6210 C684>
More information about the Valentina
mailing list