note 68828 added to install.macosx
| From: | marcus at synchromedia dot co dot uk | Date: | Sat, 12 Aug 2006 10:47:45 +0000 |
| Subject: | note 68828 added to install.macosx | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-115823@lists.php.net to get a copy of this message | ||
In addition to Andreas' compiler flag notes, you might like to try these.
-fast
Optimises for G5 with a whole bunch of other options rolled in (including -O3 and others, see gcc
man pages for details). To make it work on late model G4s (MDD), do this:
-fast -mcpu=7450
I've found that PHP generates vast numbers of pointer signedness warnings, which you can
suppress by adding:
-Wno-pointer-sign
If you're compiling with links to packages installed via Fink, you can also add:
-I/sw/include
If you stick these in your global environment file (/etc/profile, /etc/zshenv etc), everything you
compile will use those settings, like this:
export CFLAGS='-fast -mcpu=7450 -DBIND_8_COMPAT=1 -DEAPI -Wno-pointer-sign -I/sw/include'
export CXXFLAGS="${CFLAGS}"
----
Server IP: 85.116.0.130
Probable Submitter: 87.74.30.27
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/install.macosx.php
Edit -- https://master.php.net/note/edit/68828
Del: integrated -- https://master.php.net/note/delete/68828/integrated
Del: useless -- https://master.php.net/note/delete/68828/useless
Del: bad code -- https://master.php.net/note/delete/68828/bad+code
Del: spam -- https://master.php.net/note/delete/68828/spam
Del: non-english -- https://master.php.net/note/delete/68828/non-english
Del: in docs -- https://master.php.net/note/delete/68828/in+docs
Del: other reasons-- https://master.php.net/note/delete/68828
Reject -- https://master.php.net/note/reject/68828
Search -- https://master.php.net/manage/user-notes.php