From: [EMAIL PROTECTED]
Operating system: linux
PHP version: 4.0.4pl1
PHP Bug Type: Compile Failure
Bug description: Somthing is eating my cflags
Hiya,
i have these flags for compiling:
CXXFLAGS = CFLAGS= -Os -O6 -march=pentium
when i do:
./configure --with-apache=/usr/src/wico/apache_1.3.17 \
--with-config-file-path=/usr/local/apache/conf \
--enable-sigchild \
--disable-pear \
--with-bz2 \
--with-curl=/usr/local/curl \
--enable-ftp \
--with-gd \
--with-mcrypt=/usr/local/mcrypt \
--with-mysql=/usr/local/mysql \
--disable-session \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--with-zlib \
--enable-static &&
make &&
make install
i get this:
Making all in Zend
make[1]: Entering directory `/home/src/wico/php-4.0.4pl1/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_language_scanner.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_ini_scanner.c
/bin/sh ../libtool --silent --mode=link gcc -Os -O6 -march=pentium -o libZend_c.la
zend_language_scanner.lo zend_ini_scanner.lo
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_language_parser.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_ini_parser.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_alloc.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_compile.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_constants.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_dynamic_array.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 s -O6 -march=pentium -c ./zend_execute.c
gcc: cannot specify -o with -c or -S and multiple compilations
make[1]: *** [zend_execute.lo] Error 1
make[1]: Leaving directory `/home/src/wico/php-4.0.4pl1/Zend'
make: *** [all-recursive] Error 1
watch this line:
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 s -O6 -march=pentium -c ./zend_execute.c
changing it to this works:
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c ./zend_execute.c
Greetz,
Wico
--
Edit Bug report at: http://bugs.php.net/?id=9225&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]