[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bison-1.875 patches: yet another success
From: |
Nelson H. F. Beebe |
Subject: |
Re: bison-1.875 patches: yet another success |
Date: |
Wed, 5 Mar 2003 16:21:51 -0700 (MST) |
I just tried Paul Eggert's simple test on the HP Itanium-2 system to
see whether it causes a bad compiler option to be passed to the Intel
ecc compiler with both C99 and C++98 compilation:
tar xfz ~/foo-1.0.tar.gz
cd foo-1.0
env CC=ecc ./configure && make
...
config.status: creating Makefile
config.status: executing depfiles commands
source='foo.c' object='foo.o' libtool=no \
depfile='.deps/foo.Po' tmpdepfile='.deps/foo.TPo' \
depmode=icc /bin/sh ./depcomp \
ecc -DPACKAGE_NAME=\"foo\" -DPACKAGE_TARNAME=\"foo\"
-DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"foo\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"foo\" -DVERSION=\"1.0\" -I. -I. -g -c `test -f 'foo.c'
|| echo './'`foo.c
ecc -g -o foo foo.o
make distclean
env CC='ecc -Kc++' ./configure && make
...
ecc -Kc++ -DPACKAGE_NAME=\"foo\" -DPACKAGE_TARNAME=\"foo\"
-DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"foo\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"foo\" -DVERSION=\"1.0\" -I. -I. -g -c `test -f 'foo.c'
|| echo './'`foo.c
ecc -Kc++ -g -o foo foo.o
So, I don't see the behavior that I got with bison-1.875.2 and
gawk-3.1.1m, with gcc options being passed to ecc like this:
> if ecc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../lib -g -MT
> dirname.o -MD -MP -MF ".deps/dirname.Tpo" \
> -c -o dirname.o `test -f 'dirname.c' || echo './'`dirname.c; \
> then mv ".deps/dirname.Tpo" ".deps/dirname.Po"; \
> else rm -f ".deps/dirname.Tpo"; exit 1; \
> fi
> if ecc -DDEFPATH="\".:/usr/local/share/awk\"" -DHAVE_CONFIG_H -DGAWK
> -DLOCALEDIR="\"/usr/local/share/locale\"" -I. -I. -I. -I./intl -g -MT
> array.o -MD -MP -MF ".deps/array.Tpo" \
> -c -o array.o `test -f 'array.c' || echo './'`array.c; \
> then mv ".deps/array.Tpo" ".deps/array.Po"; \
> else rm -f ".deps/array.Tpo"; exit 1; \
> fi
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- Center for Scientific Computing FAX: +1 801 581 4148 -
- University of Utah Internet e-mail: address@hidden -
- Department of Mathematics, 110 LCB address@hidden address@hidden -
- 155 S 1400 E RM 233 address@hidden -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe -
-------------------------------------------------------------------------------