This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problem while compiling gcc2.95.2 because of bison
- To: gcc-help at gcc dot gnu dot org
- Subject: Problem while compiling gcc2.95.2 because of bison
- From: Rahul Parasnis <rparasnis at clj dot co dot jp>
- Date: Wed, 2 Feb 2000 13:09:14 +0900
I am installing gcc on HP 10.20 , I found Simmilar problems about bison,
Is it neccessary that I have to install bison first to install GCC ? where
can I get it ?
There is another way suggested by Tim Prince in one of his answers
Tim>In this case, assuming you didn't alter c-parse, you could 'touch
c-parse.c' so
Tim>that ( if you are using gnu make) it will not think that file is out of
date.
Wheather I can do this before make bootstrap ?
I am attaching following for someone who is interested in the Log
t='s,x,x,'; echo ar | sed -e $t ; \
fi; \
fi`" "BISON=`if [ -f /opt/gcc-2.95.2/gcc/../bison/bison ] ; then
case /admdns/gcc-2.95.2/gcc in \
/*) echo /opt/gcc-2.95.2/gcc/../bison/bison -L
/admdns/gcc-2.95.2/gcc/../bison/ ;; \
*) echo /opt/gcc-2.95.2/gcc/../bison/bison -L
/opt/gcc-2.95.2/gcc//admdns/gcc-2.95.2/gcc/../bison/ ;; \
esac; else echo bison ; fi`" "BISONFLAGS=" "CFLAGS=-O2 -g"
"CLIB=" "GCC_FOR_TARGET=./xgcc -B/usr/local/hppa1.1-hp-hpux10.20/bin/ -B./
-I/usr/local/hppa1.1-hp-hpux10.20/include" "LDFLAGS=" "LEX=`if [ -f
/opt/gcc-2.95.2/gcc/../flex/flex ] ; then echo
/opt/gcc-2.95.2/gcc/../flex/flex ; else echo flex ; fi`" "LEXFLAGS="
"LN=ln" "LN_S=ln -s" "MAKEINFO=`if [ -f
/opt/gcc-2.95.2/gcc/../texinfo/makeinfo/Makefile ] ; \
then echo /opt/gcc-2.95.2/gcc/../texinfo/makeinfo/makeinfo ; \
else echo makeinfo ; fi`" "MAKEINFOFLAGS=" "RANLIB_FOR_TARGET=`
if [ -f /opt/gcc-2.95.2/gcc/../binutils/ranlib ] ; then \
echo /opt/gcc-2.95.2/gcc/../binutils/ranlib ; \
else \
if [ "hppa1.1-hp-hpux10.20" = "hppa1.1-hp-hpux10.20" ] ; then \
echo ranlib; \
else \
t='s,x,x,'; echo ranlib | sed -e $t ; \
fi; \
fi`" "RANLIB_TEST_FOR_TARGET=[ -f ` if [ -f
/opt/gcc-2.95.2/gcc/../binutils/ranlib ] ; then \
echo /opt/gcc-2.95.2/gcc/../binutils/ranlib ; \
else \
if [ "hppa1.1-hp-hpux10.20" = "hppa1.1-hp-hpux10.20" ] ; then \
echo ranlib; \
else \
t='s,x,x,'; echo ranlib | sed -e $t ; \
fi; \
fi` ] || ( [ "hppa1.1-hp-hpux10.20" = "hppa1.1-hp-hpux10.20" ]
&& [ -f /usr/bin/ranlib -o -f /bin/ranlib ] )" "SHELL=/bin/sh"
"STAGE_PREFIX=stage1/" "exeext=" "build_exeext=" "objext=.o"
"exec_prefix=/usr/local" "prefix=/usr/local" "local_prefix=/usr/local"
"gxx_include_dir=/usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/../../..
/..`echo /usr/local | sed -e 's|^/usr/local||' -e
's|/[^/]*|/..|g'`/include/g++-3" "tooldir=/usr/local/hppa1.1-hp-hpux10.20"
"gcc_tooldir=/usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/../../../../
hppa1.1-hp-hpux10.20" "bindir=/usr/local/bin"
"libsubdir=/usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2"
"datadir=/usr/local/share" "distdir=../tmp/\$(subdir)"
"localedir=/usr/local/share/locale" "CC=stage1/xgcc -Bstage1/
-B/usr/local/hppa1.1-hp-hpux10.20/bin/" "JAVA_FOR_BUILD=" "JAVAFLAGS="
"JAVA_FOR_TARGET=" ../jc1
here=`pwd`; sdir=`cd /admdns/gcc-2.95.2/gcc/java && pwd`; if test
-f ../../bison; then bison="$here/../../bison/bison -L $sdir"; else
bison=bison; fi; \
cd /admdns/gcc-2.95.2/gcc/java && $bison -t --name-prefix=java_ \
-o parse.c ./parse.y
sh[2]: bison: not found.
*** Error exit code 127
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
Regards
- Rahul Parasnis