Re: [PHP4BETA] make optimisation flags compile-time-settable?
| From: | Thies C. Arntzen | Date: | Tue, 22 Jun 1999 19:35:53 +0000 |
| Subject: | Re: [PHP4BETA] make optimisation flags compile-time-settable? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1661@lists.php.net to get a copy of this message | ||
On Tue, 22 Jun 1999, Andrey Zmievski wrote:
> Thies C. Arntzen wrote:
> > hi,
> > i would love if i could say (eg)
> >
> > make OPTIM="-g -Wall" # (whatsoever)
> >
> > and have all of php4 (zend, ext's etc) compiled using exactly the OPTIM
> > setting i supplied while compiling (just the way apache does it). right
> > now it's more or less impossible to compile without -O2 (using gcc)
> > without fiddeling with lots of makefiles.
> >
> > what do you think?
>
> Why not just do:
>
> CFLAGS=-g -Wall ./configure ........
why not be able to say:
make CFLAGS="whatilike"
no, the point is that i really like the way apache does it, and it think
it would be "nice to have" in php. i sometimes want recompile with
different levels of -O etc.
tc
>
> -Andrey
> * Software never has bugs. It just develops random features. *
>
> --
> PHP 4 Beta
>
>
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany