[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bison 2.0 test suite on Mac OS X.3.8
From: |
Paul Eggert |
Subject: |
Re: Bison 2.0 test suite on Mac OS X.3.8 |
Date: |
Mon, 21 Mar 2005 11:00:54 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) |
Hans Aberg <address@hidden> writes:
>>What are CC, CFLAGS, and CPPFLAGS set to on your host? That
>>might explain the problem.
>
> Do you mind to help me a bit on this.
Try doing this:
cd tests
./testsuite -v -d 5
grep -E '(CC|CFLAGS|CPPFLAGS|LDFLAGS|abs_top_builddir)=' testsuite.log
Assuming the output looks something like this:
| abs_top_builddir='/some/long/path'
| CC='gcc'
| CFLAGS='-g -O2 '
| CPPFLAGS="-DHAVE_CONFIG_H=1 -I$abs_top_builddir "
| GCC='yes'
| LDFLAGS=''
then execute these commands:
abs_top_builddir='/some/long/path'
CC='gcc'
CFLAGS='-g -O2 '
CPPFLAGS="-DHAVE_CONFIG_H=1 -I$abs_top_builddir "
LDFLAGS=''
cd testsuite.dir/005
set -x
$CC $CFLAGS $CPPFLAGS -c input.c -o input.o
$CC $CFLAGS $CPPFLAGS -c main.c -o main.o
$CC $CFLAGS $CPPFLAGS $LDFLAGS input.o main.o $LIBS -o input
Please email to bison-bugs the output of all the above commands
(including the "grep").
> It is a bit strange that maiking bison works, without those flags
> then, but the test suite fails. How is it setup in the "make" of
> Bison, as these falgs then are not needed?
"make check" can exercise features of the underlying system that
"make" and "make install" do not.
- Bison 2.0 test suite on Mac OS X.3.8, Hans Aberg, 2005/03/20
- Re: Bison 2.0 test suite on Mac OS X.3.8, Hans Aberg, 2005/03/20
- Re: Bison 2.0 test suite on Mac OS X.3.8, Paul Eggert, 2005/03/21
- Re: Bison 2.0 test suite on Mac OS X.3.8, Hans Aberg, 2005/03/21
- Re: Bison 2.0 test suite on Mac OS X.3.8,
Paul Eggert <=
- Re: Bison 2.0 test suite on Mac OS X.3.8, Hans Aberg, 2005/03/21
- Re: Bison 2.0 test suite on Mac OS X.3.8, Paul Eggert, 2005/03/21
- Re: Bison 2.0 test suite on Mac OS X.3.8, Hans Aberg, 2005/03/22
- Autoconf patch to catch problems with spaces etc. in file names, Paul Eggert, 2005/03/22
- Re: Autoconf patch to catch problems with spaces etc. in file names, Hans Aberg, 2005/03/23
Re: Bison 2.0 test suite on Mac OS X.3.8, Hans Aberg, 2005/03/21