Path: utzoo!attcan!uunet!cs.utexas.edu!sun-barr!lll-winken!lll-crg.llnl.gov!hbrand From: hbrand@lll-crg.llnl.gov (Hal Brand) Newsgroups: comp.unix.ultrix Subject: Problems making (Compiling) GCC on DECStation 5000 and Ultrix 4.0A??? Summary: GCC 1.37.1 won't build. Help! Keywords: Ultrix, GNU, GCC Message-ID: <68294@lll-winken.LLNL.GOV> Date: 19 Sep 90 18:44:50 GMT Sender: usenet@lll-winken.LLNL.GOV Distribution: comp.unix.ultrix Organization: Lawrence Livermore National Laboratory Lines: 22 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@crg.llnl.gov