Re: Optimization flags in qmake.spec

2007-06-13 Thread Ryan Ware
I think part of what they on the Apple developer pages should be taken with a grain of salt. Yes, there can undoubtedly be times when -Os will produce a sequence of instructions that are shorter and quicker than -O2. The second URL even shows an example. That said, I believe the gcc folks would

Re: Optimization flags in qmake.spec

2007-06-11 Thread Daniel J. Luke
On Jun 11, 2007, at 9:38 AM, Jochen Küpper wrote: On 11.06.2007, at 11:02, Pierre Queinnec wrote: IIRC Apple recommends -Os, not -O2. Why? Where is that documented? I've seen it elsewhere, but in this link, the "Fastest, smallest" Xcode setting corresponds to -Os http://developer.apple.c

Re: Optimization flags in qmake.spec

2007-06-11 Thread Jochen Küpper
On 11.06.2007, at 11:02, Pierre Queinnec wrote: IIRC Apple recommends -Os, not -O2. Why? Where is that documented? Schöne Grüße, Jochen -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? PGP.sig Description: Th

Re: Optimization flags in qmake.spec

2007-06-11 Thread Daniel J. Luke
On Jun 11, 2007, at 5:21 AM, Ryan Schmidt wrote: On Jun 11, 2007, at 04:02, Pierre Queinnec wrote: IIRC Apple recommends -Os, not -O2. We currently use -O2 for most other ports, because it is the gcc default. Where is this -O recommendation? I tried to find it earlier (when I suggested we

Re: Optimization flags in qmake.spec

2007-06-11 Thread Ryan Schmidt
On Jun 11, 2007, at 04:02, Pierre Queinnec wrote: IIRC Apple recommends -Os, not -O2. We currently use -O2 for most other ports, because it is the gcc default. Where is this -O recommendation? ___ macports-users mailing list macports-users@lists.

Re: Optimization flags in qmake.spec

2007-06-11 Thread Pierre Queinnec
Hi Jochen, IIRC Apple recommends -Os, not -O2. Cheers, -- Pierre Jochen Küpper wrote: When upgrading qwt I realizd that all qmake-generated makefiles use only -Os compiler optimization. This is due to the following line in /opt/local/share/qt4/mkspecs/macx-g++/qmake.conf: QMAKE_CFLAGS_RELE

Optimization flags in qmake.spec

2007-06-11 Thread Jochen Küpper
When upgrading qwt I realizd that all qmake-generated makefiles use only -Os compiler optimization. This is due to the following line in / opt/local/share/qt4/mkspecs/macx-g++/qmake.conf: QMAKE_CFLAGS_RELEASE = -Os Wouldn't it be more useful on Standard Mac systems to change this to - O2, o