🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Bruce Cameron Thu, 12 Jan 1989 15:47
Help with G++ v1.31
#1615
Author: 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)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads