Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!ut-emx!brook From: brook@ut-emx.UUCP (Brook Milligan) Newsgroups: comp.sys.dec Subject: gcc and DS3100 Message-ID: <26423@ut-emx.UUCP> Date: 19 Mar 90 20:32:28 GMT Distribution: usa Organization: The University of Texas at Austin, Austin, Texas Lines: 40 I am trying to install gcc (version 1.37.1) on a DS3100 (Ultrix 3.1) and seem to be having a problem. When I compile the distribution using the Dec/MIPS cc I get the following error messages. The documentation suggests that the first is to be ignored and I'm sure the third is irrevelant, but I am less sure of the second. cc -I. -I. -I./config -c insn-emit.c ccom: Warning: insn-emit.c, line 729: statement not reached operand0 = emit_operand[0]; ----------------------------^ ccom: Warning: insn-emit.c, line 749: zero or negative subscript rtx emit_operand[0]; --------------------^ make hard-params cp ./hard-params.c . > /dev/null 2>&1 *** Error code 1 (ignored) Upon recompiling gcc with itself I cannot use the -g switch as suggested since the following message results: cc1: Invalid option `-g'. I assume this is related to the comment in the documentation about "GNU CC cannot generate debugging information in the unusual format used on the Mips." Without -g everything recompiles just fine with gcc. To test the results, I recompiled it with gcc a second time following the instructions in the documentation. Upon comparing the resulting files, however, I find differences between files. Differences arise whether or not I use the -g option in the original compilation with cc. Does this mean that errors exist in my compiled version of gcc? I would appreciate any suggestions you can make, especially it you have successfully installed gcc on a DS3100. Thanks in advance. -- ==================================================================== Brook G. Milligan Internet: brook@emx.utexas.edu Department of Botany Bitnet: bohk313@utaivc University of Texas at Austin UUCP: ...!ut-emx!brook Austin, Texas 78713 U.S.A. (512) 471-3530 ====================================================================