On Tue, Feb 18, 2003 at 09:27:17PM +0100, Leopold Toetsch wrote:
> > --optimize may be broken.  I tried it with a clean parrot source and
> 
> 
> The ellipses should have been placeholders for other options. I 
> configure mine with:
> 
>   perl Configure.pl --floatval=double --debugging --optimize
> 
> from Makefile:
> 
> CFLAGS =  -I/usr/local/include -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -g -O3
>   ...
> 
> This should get perl5's default optimization for parrot.

That's bizarre.  perl Configure.pl --optimize gives:

CFLAGS = -g -pipe -pipe -fno-common -no-cpp-precomp -DHAS_TELLDIR_PROTOTYPE  -pi
pe -fno-common   -Wall -Wstrict-prototypes -Wmissing-prototypes -Winline -Wshado
w -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -W
inline -W -Wno-unused -Wsign-compare -Wformat-nonliteral -Wformat-security -Wpac
ked -Wpadded -Wdisabled-optimization  -I./include  -DHAS_JIT -DPPC -DHAVE_COMPUT
ED_GOTO 

no -O.  perl Configure.pl --optimize --debugging gives

CFLAGS = -g -pipe -pipe -fno-common -no-cpp-precomp -DHAS_TELLDIR_PROTOTYPE  -pi
pe -fno-common  -g -Os  -Wall -Wstrict-prototypes -Wmissing-prototypes -Winline 
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-re
turn -Winline -W -Wno-unused -Wsign-compare -Wformat-nonliteral -Wformat-securit
y -Wpacked -Wpadded -Wdisabled-optimization  -I./include  -DHAS_JIT -DPPC -DHAVE
_COMPUTED_GOTO

-Os (which is from Perl 5) and -g.  I think --optimize alone is busted.

Reply via email to