Problems making (Compiling) GCC on DECStation 5000 and Ultrix 4.0A???

Hal Brand hbrand at lll-crg.llnl.gov
Thu Sep 20 04:44:50 AEST 1990


I am trying to build the GCC 1.37.1 compilier on a DECStation 5000
under Ultrix 4.0A.  After editing Makefile and doing a "gcc.config
decstation", the "make" dies while cc-ing the file symout.c due to a
"typedef unsigned log size_t;" in ./stddef.h. Looking at
/usr/include/stdlib.h, I edited ./stddef.h to be conditional on _SIZE_T_
instead of _SIZE_T, restarted the make, and everything ran to completion.
Doing the "make stage1" also worked. However, doing the:
          make CC=stage1/gcc CFLAGS="-g -O -Bstage1/"
dies quickly. The first thing done is:
          stage1/gcc [stuff omitted]  -c    `echo ./gcc.c | sed 's,^\./,,'`
This gives the errors:
   /usr/include/sys/file.h:125: warning: garbage at end of #ifdef argument
   cc1: Invalid option `-g'
   In file included from gvarargs.h:9, from gcc.c:127:
   va-mips.h:68: conflicting types for `va_list'
   /usr/include/stdio.h:154: previous declaration of `va_list'
   *** Error code 1
Looks like gcc didn't compile/build properly using cc.

Can anybody offer any help getting GCC working???
						Hal Brand
						hbrand at crg.llnl.gov



More information about the Comp.unix.ultrix mailing list