🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1523

g++ and dbx

#1523
From: Larry Hall
Date: Sat, 02 Jan 1993 21:27
43 lines
1495 bytes
Can't get dbx to run on the output of g++.  I have tried compiling
with option -g and -gdbx (which it does not know).  I have
tried dbx with no option.  The error is the same in all
cases.  I am running on a SUN sparc workstation with
O.S. 4.1.1 and dbx is the version that comes standard with 
a new Sparc.  The error looks like:
dbx: internal error: unexpected value 47 at line 2620 in file ../common/obj
ect.c

My Makefile looks as shown below.  Thanks.

--Larry Hall
hall@waterfall.csee.usf.edu

C++ = g++ 

C++FLAGS = 

DEPEND =

SRCS =	d.cc util.cc unify.cc learn.cc

SRCS1 =	d1.cc util.cc unify.cc learn1.cc

OBJS = $(SRCS:.cc=.o)

OBJS1 = $(SRCS1:.cc=.o)

omlet:	$(OBJS)
	g++ -o omlet $(OBJS) -lg++ -lm

newoml:	$(OBJS1)
	g++  -o omlet1 $(OBJS1) -lg++ -lm

%.o : %.cc 
	$(C++) -c  $(C++FLAGS) $< -o $@

depend:
	$(DEPEND) -I/usr/local/lib/g++-include -I/usr/local/lib/gcc-include \
	-I/usr/local/include $(SRCS)

# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
# newoml makes Hall's test version.
Technical Details
Message-ID: <9301022127.AA01443@waterfall.csee.usf.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!waterfall.csee.usf.edu!hall

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!waterfall.csee.usf.edu!hall
From: hall@waterfall.csee.usf.edu (Larry Hall)
Subject: g++ and dbx
Message-ID: <9301022127.AA01443@waterfall.csee.usf.edu>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sat, 2 Jan 1993 21:27:26 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 44