building gcc 3.3 on sparc not working; tried two different compilers. Would be happy with anything that worked, altho would prefer a build from Sun cc. Sun compiler trial: cc -V cc: Sun WorkShop 6 update 2 C 5.3 Patch 111679-05 2002/02/07 solaris 8 64 bit sparc # This directory was configured as follows: ../gcc/configure --with-gcc-version-trigger=/export/home/helm/project/gcc/gcc-3.3/gcc/version.c --host=sparc-s un-solaris2.8 --srcdir=../gcc --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --norecursion make bootstrap, then ... after a while... /usr/share/bison/bison.simple: In function `yystrlen': /usr/share/bison/bison.simple:277: warning: traditional C rejects ISO C style function definitions /usr/share/bison/bison.simple: In function `yystpcpy': /usr/share/bison/bison.simple:302: warning: traditional C rejects ISO C style function definitions stage1/xgcc -Bstage1/ -B/usr/local/sparc-sun-solaris2.8/bin/ -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -o gengtype \ gengtype.o gengtype-lex.o gengtype-yacc.o ../libiberty/libiberty.a ld: warning: file ../libiberty/libiberty.a(safe-ctype.o): wrong ELF class: ELFCLASS64 Undefined first referenced symbol in file _sch_toupper gengtype.o xexit gengtype.o xrealloc gengtype.o xcalloc gengtype.o _sch_istable gengtype.o xstrdup gengtype.o vasprintf gengtype.o xmemdup gengtype.o xmalloc gengtype.o ld: fatal: Symbol referencing errors. No output written to gengtype collect2: ld returned 1 exit status make[2]: *** [gengtype] Error 1 make[2]: Leaving directory `/export/home/helm/project/gcc/SunOS.5.8-cc/gcc' make[1]: *** [stage2_build] Error 2 make[1]: Leaving directory `/export/home/helm/project/gcc/SunOS.5.8-cc/gcc' make: *** [bootstrap] Error 2 old gcc trial: gcc -v Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.4/specs Configured with: ../gcc/configure --srcdir=../gcc Thread model: posix gcc version 3.0.4 # This directory was configured as follows: ../gcc/configure --with-gcc-version-trigger=/export/home/helm/project/gcc/gcc-3.3/gcc/version.c --host=sparc-s un-solaris2.8 --srcdir=../gcc --norecursion make[3]: Leaving directory `/export/home/helm/project/gcc/SunOS.5.8/gcc/intl' ./xgcc -B./ -B/usr/local/sparc-sun-solaris2.8/bin/ -isystem /usr/local/sparc-sun-solaris2.8/include -isystem /usr/local/sparc-sun-solaris2.8/sys-include -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include \ -c ../../gcc/gcc/config/sparc/gmon-sol2.c -o gmon.o In file included from config.h:19, from ../../gcc/gcc/config/sparc/gmon-sol2.c:35: ../../gcc/gcc/config/sparc/sparc.h:190:3: #error Unrecognized value in TARGET_CPU_DEFAULT. make[2]: *** [gmon.o] Error 1 make[2]: Leaving directory `/export/home/helm/project/gcc/SunOS.5.8/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/export/home/helm/project/gcc/SunOS.5.8/gcc' make: *** [bootstrap] Error 2 Any suggestions to fix either of these? Thanks, ==mwh Michael Helm ESnet/LBNL