Compile error (multiple compilations)

From: Date: Fri, 12 Jan 2001 09:54:07 +0000
Subject: Compile error (multiple compilations)
Groups: php.dev 
Request: Send a blank email to php-dev+get-43841@lists.php.net to get a copy of this message
Hiya when compiling php-4.0.4pl1 my CFLAGS AND CXXFLAGS are: "-Os -O6 -march=pentium" using pgcc-2.95.2.1 linux rehat 6.2 i get this error when compiling php: /bin/sh ../libtool --silent --mode=compile /home/src/php-4.0.4pl1/meta_cc
-DHAVE_CONFIG_H -I. -I. -I../main     -Os -O6 -march=pentium -c zend_constants.c
/bin/sh ../libtool --silent --mode=compile /home/src/php-4.0.4pl1/meta_cc -DHAVE_CONFIG_H -I. -I. -I../main     -Os -O6 -march=pentium -c zend_dynamic_array.c
/bin/sh ../libtool --silent --mode=compile /home/src/php-4.0.4pl1/meta_cc -DHAVE_CONFIG_H -I. -I. -I../main   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/php-4.0.4pl1/Zend' make: *** [all-recursive] Error 1 [root@linux src]# Look like it strips off the -O and forgets the rest Greetz, Wico

« previous php.dev (#43841) next »