Re: cvs: php-src(PHP_5_3) / NEWS acinclude.m4 configure.in
| From: | David Soria Parra | Date: | Thu, 06 Nov 2008 21:14:34 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_3) / NEWS acinclude.m4 configure.in | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-53997@lists.php.net to get a copy of this message | ||
Hannes Magnusson wrote:
On Thu, Nov 6, 2008 at 21:42, David Soria Parra <dsp@php.net> wrote:so the complete list is at http://docs.sun.com/app/docs/doc/819-5265/bjapp?a=view but let me get through the most important parts of the list: xtarget=native Causes to generate processor specific code. xalias_level=basic does optimization based on basic assumptions about the c types e.g. float* will not point to int*. fsimple=2 will simplify floating point arithmetic xipo=1 will do an analysis of all object files and try to optimize across all object files. xlibmopt optimize math routines, according to the documentation this might result in slight differences to the std math lib. But I asked some sun engineers and it was considered safe. So actually I picked options that usually are set by the -fast option, but removed the onces that might cause problems. That's why the list is that long and that's even why I don't use -xO5 but -xO4 to not run in errors (this was recommand by some webstack guy). The only sad thing is that you still need to set the compiler using the CC env variable as by default we are looking for gcc and ignoring other compilers even though they are the default cc compiler on those machines. I acutally think that this is not desirable. David[...]dsp Thu Nov 6 20:42:12 2008 UTCModified files: (Branch: PHP_5_3) /php-src acinclude.m4 configure.in NEWSLog: MFH: Detect Sun C compiler and set default flags if it is used+- Added default flags for suncc compiler. (David Soria Parra)Thats great.. what are those default flags and "why should I care"? Hi Hannes,