Compiling gcc for V5.1 (2)

From: Murthy Hebbar <murthy_at_incyte.com>
Date: Mon, 09 Jul 2001 11:37:28 -0700

Thanks to the following people who have given me some valuable inputs.
I am one step further in the process.

Elizabeth Harvey-Forsythe
Thierry CHICH
Darryl Cook
Lemley Shelly R

There is still some problem with the compilation and I am getting the
following errors. Your help is greatly appreciated..
--
Murthy Hebbar
Environemnt:
as=/usr/bin/as -oldas
# make -v
GNU Make version 3.77, by Richard Stallman and Roland McGrath.
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
make[2]: Leaving directory `/data/spe2/tmp/gcc-2.95.3/gcc/cp'
touch lang-f77
cd f; /tools/gnu/bin/make "AR_FLAGS_FOR_TARGET=rc" "AR_FOR_TARGET=ar"
"BISON=bison" "BISONFLAGS=" "CFLAGS=-g" "CLIB=-lmld"
"GCC_FOR_TARGET=/data/spe2/tmp/gcc-2.95.3/gcc/xgcc
-B/data/spe2/tmp/gcc-2.95.3/gcc/ -B/usr/local/alphaev56-dec-osf5.1/bin/
-I/usr/local/alphaev56-dec-osf5.1/include" "LDFLAGS=" "LEX=flex"
"LEXFLAGS=" "LN=ln" "LN_S=ln -s"
"MAKEINFO=/data/spe2/tmp/gcc-2.95.3/texinfo/makeinfo/makeinfo "
"MAKEINFOFLAGS=" "RANLIB_FOR_TARGET=ranlib" "RANLIB_TEST_FOR_TARGET=[ -f
ranlib ] || ( [ "alphaev56-dec-osf5.1" = "alphaev56-dec-osf5.1" ] && [
-f /usr/bin/ranlib -o -f /bin/ranlib ] )" "SHELL=/bin/sh"
"STAGE_PREFIX=" "exeext=" "build_exeext=" "objext=.o"
"exec_prefix=/usr/local" "prefix=/usr/local" "local_prefix=/usr/local"
"gxx_include_dir=/usr/local/lib/gcc-lib/alphaev56-dec-osf5.1/2.95.3/../../../..`echo
/usr/local | sed -e 's|^/usr/local||' -e
's|/[^/]*|/..|g'`/include/g++-3"
"tooldir=/usr/local/alphaev56-dec-osf5.1"
"gcc_tooldir=/usr/local/lib/gcc-lib/alphaev56-dec-osf5.1/2.95.3/../../../../alphaev56-dec-osf5.1"
"bindir=/usr/local/bin"
"libsubdir=/usr/local/lib/gcc-lib/alphaev56-dec-osf5.1/2.95.3"
"datadir=/usr/local/share" "distdir=../tmp/\$(subdir)"
"localedir=/usr/local/share/locale" "CC=cc" \
  HOST_CC="`case 'cc' in stage*) echo 'cc' | sed -e
's|stage|../stage|g';; *) echo 'cc';; esac`" \
  HOST_CFLAGS=" -DIN_GCC -DHAIFA    -g  -DHAVE_CONFIG_H"
HOST_CPPFLAGS="  " \
  ../f771
make[2]: Entering directory `/data/spe2/tmp/gcc-2.95.3/gcc/f'
cc -c  -DIN_GCC    -g  -W -Wall    -I. -I.. -I. -I./.. -I./../config
-I./../../include bad.c
cc: Error: proj.h, line 35: #error "You have to use gcc 2.x to build g77
(might be fixed in g77-0.6)." (errormessage)
#error "You have to use gcc 2.x to build g77 (might be fixed in
g77-0.6)."
-^
cc: Warning: bad.c, line 388: In this statement, the referenced type of
the pointer value ""note:"" is "char", which is not compatible with
"const unsigned char" because they differ by signed/unsigned attribute.
(ptrmismatch1)
      s = "note:";
------^
cc: Warning: bad.c, line 392: In this statement, the referenced type of
the pointer value ""warning:"" is "char", which is not compatible with
"const unsigned char" because they differ by signed/unsigned attribute.
(ptrmismatch1)
      s = "warning:";
------^
cc: Warning: bad.c, line 396: In this statement, the referenced type of
the pointer value ""fatal:"" is "char", which is not compatible with
"const unsigned char" because they differ by signed/unsigned attribute.
(ptrmismatch1)
      s = "fatal:";
------^
cc: Warning: bad.c, line 400: In this statement, the referenced type of
the pointer value """" is "char", which is not compatible with "const
unsigned char" because they differ by signed/unsigned attribute.
(ptrmismatch1)
      s = "";
------^
cc: Warning: bad.c, line 445: In this statement, the referenced type of
the pointer value ""(continued):"" is "char", which is not compatible
with "const unsigned char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
          s = "(continued):";
----------^
cc: Warning: bad.c, line 500: In this statement, the referenced type of
the pointer value "ffebad_string_[index]" is "const char", which is not
compatible with "const unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
                  s = ffebad_string_[index];
------------------^
cc: Warning: bad.c, line 504: In this statement, the referenced type of
the pointer value "s" is "const unsigned char", which is not compatible
with "const char" because they differ by signed/unsigned attribute.
(ptrmismatch1)
                    bufi = ffebad_bufputs_ (buf, bufi, s);
-------------------------------------------------------^
make[2]: *** [bad.o] Error 1
make[2]: Leaving directory `/data/spe2/tmp/gcc-2.95.3/gcc/f'
make[1]: *** [f771] Error 2
make[1]: Leaving directory `/data/spe2/tmp/gcc-2.95.3/gcc'
make: *** [all-gcc] Error 2
#
Received on Mon Jul 09 2001 - 18:38:45 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT