home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / gcc / bug / 3104 < prev    next >
Encoding:
Text File  |  1993-01-02  |  1.4 KB  |  57 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!waterfall.csee.usf.edu!hall
  3. From: hall@waterfall.csee.usf.edu (Larry Hall)
  4. Subject: g++ and dbx
  5. Message-ID: <9301022127.AA01443@waterfall.csee.usf.edu>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Sat, 2 Jan 1993 21:27:26 GMT
  10. Approved: bug-gcc@prep.ai.mit.edu
  11. Lines: 44
  12.  
  13. Can't get dbx to run on the output of g++.  I have tried compiling
  14. with option -g and -gdbx (which it does not know).  I have
  15. tried dbx with no option.  The error is the same in all
  16. cases.  I am running on a SUN sparc workstation with
  17. O.S. 4.1.1 and dbx is the version that comes standard with 
  18. a new Sparc.  The error looks like:
  19. dbx: internal error: unexpected value 47 at line 2620 in file ../common/obj
  20. ect.c
  21.  
  22. My Makefile looks as shown below.  Thanks.
  23.  
  24. --Larry Hall
  25. hall@waterfall.csee.usf.edu
  26.  
  27. C++ = g++ 
  28.  
  29. C++FLAGS = 
  30.  
  31. DEPEND =
  32.  
  33. SRCS =    d.cc util.cc unify.cc learn.cc
  34.  
  35. SRCS1 =    d1.cc util.cc unify.cc learn1.cc
  36.  
  37. OBJS = $(SRCS:.cc=.o)
  38.  
  39. OBJS1 = $(SRCS1:.cc=.o)
  40.  
  41. omlet:    $(OBJS)
  42.     g++ -o omlet $(OBJS) -lg++ -lm
  43.  
  44. newoml:    $(OBJS1)
  45.     g++  -o omlet1 $(OBJS1) -lg++ -lm
  46.  
  47. %.o : %.cc 
  48.     $(C++) -c  $(C++FLAGS) $< -o $@
  49.  
  50. depend:
  51.     $(DEPEND) -I/usr/local/lib/g++-include -I/usr/local/lib/gcc-include \
  52.     -I/usr/local/include $(SRCS)
  53.  
  54. # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
  55. # newoml makes Hall's test version.
  56.  
  57.