🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #1615

Help with G++ v1.31

#1615
From: Bruce Cameron
Date: Thu, 12 Jan 1989 15:47
31 lines
1986 bytes
I am trying to install G++ v1.31 on a SUN 3/280 running under SunOS 4.0.1 with
GCC v1.31 as my C compiler. I am getting the error "undefined: _reverse_condition"
when compiling c++ (the last stage of the make). However, I find that the
function reverse_condition is called in expr.c and jump.c and is defined in jump.c.
Could this be due to an error in my configuration settings? a gcc/linker problem?
the makefile? Any and all suggestions are welcome. This problem has our local gurus
stumped. Thanks.

--Bruce Cameron
  bmc@bru.mayo.edu
  
------------------
errors 

gcc -g -o c++ -msoft-float toplev.o version.o cplus-parse.tab.o tree.o print-tree.o  cplus-decl.o cplus-typeck.o stor-layout.o fold-const.o  rtl.o expr.o stmt.o expmed.o explow.o optabs.o varasm.o  symout.o dbxout.o sdbout.o emit-rtl.o insn-emit.o  integrate.o jump.o cse.o loop.o flow.o stupid.o combine.o  regclass.o local-alloc.o global-alloc.o reload.o reload1.o insn-peep.o  final.o recog.o insn-recog.o insn-extract.o insn-output.o  cplus-lex.o cplus-overload.o cplus-class.o cplus-init.o cplus-method.o c


plus-convert.o cplus-search.o /usr/lib/debug/malloc.o -lg obstack.o  -lc
Undefined:
_reverse_condition
*** Error code 1
make: Fatal error: Command failed for target `c++'


grep reverse_condition *.c
expr.c:   extern enum rtx_code reverse_condition ();
expr.c:   enum rtx_code code = reverse_condition (GET_CODE (comparison));
jump.c:static enum rtx_code reverse_condition ();
jump.c:    codei = reverse_condition (codei);
jump.c:    codet = reverse_condition (codet);
jump.c:reverse_condition (code)
Technical Details
Message-ID: <8901121547.AA22654@bru.mayo.EDU>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bbn!mailrus!tut.cis.ohio-state.edu!MAYO.EDU!bmc

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bbn!mailrus!tut.cis.ohio-state.edu!MAYO.EDU!bmc
From: bmc@MAYO.EDU (Bruce Cameron)
Newsgroups: gnu.g++.bug
Subject: Help with G++ v1.31
Message-ID: <8901121547.AA22654@bru.mayo.EDU>
Date: 12 Jan 89 15:47:37 GMT
Sender: fox-r@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 28