home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / g / help / 1644 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.8 KB  |  44 lines

  1. Newsgroups: gnu.g++.help
  2. Path: sparky!uunet!pipex!demon!wyrdrune.demon.co.uk!localhost!guy
  3. From: guy@wyrdrune.demon.co.uk (Guy Gascoigne-Piggford)
  4. Subject: g++ -g isn't working
  5. Message-ID: <1993Jan7.224148.1392@wyrdrune.demon.co.uk>
  6. Sender: guy@localhost (Guy Gascoigne-Piggford)
  7. Reply-To: guy@wyrdrune.demon.co.uk
  8. Organization: Wyrdrune
  9. Date: Thu, 7 Jan 1993 22:41:48 GMT
  10. Lines: 32
  11.  
  12. gcc 2.3.3 : Dell SVR4 : i486
  13.  
  14. I can't get g++ to produce anything with any debug information in it.
  15. Every file I try gives me undefined name errors from the assembler.
  16.  
  17. eg.
  18.  
  19. [159 /home/guy/src/work ] cat tt.C
  20. #include <stream.h>
  21. main()
  22. {
  23.         cout << "Hello World\n";
  24. }
  25.  
  26. [160 /home/guy/src/work ] g++ -v tt.C -o tt -g
  27. Reading specs from /usr/local/lib/gcc-lib/i486-sysv4/2.3.3/specs
  28. gcc version 2.3.3
  29.  /usr/local/lib/gcc-lib/i486-sysv4/2.3.3/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -Di386 -Dunix -D__svr4__ -D__i386__ -D__unix__ -D__svr4__ -D__i386 -D__unix -D__svr4__ -Asystem(unix) -Acpu(i386) -Amachine(i386) -g tt.C /var/tmp/cca000Bn.i
  30. GNU CPP version 2.3.3 (i386 System V Release 4)
  31.  /usr/local/lib/gcc-lib/i486-sysv4/2.3.3/cc1plus /var/tmp/cca000Bn.i -quiet -dumpbase tt.cc -g -version -o /var/tmp/cca000Bn.s
  32. GNU C++ version 2.3.3 (i386 System V Release 4) compiled by GNU C version 2.3.2.
  33.  /usr/ccs/bin/as -V -Qy -o /var/tmp/cca000Bn1.o /var/tmp/cca000Bn.s
  34. as: Standard C Development Environment  (SCDE) 5.0  04/26/91
  35. (EOF):undefined name: .L_T51
  36.  
  37. Any clues? Have I found a bug or just screwed up the build?
  38.  
  39. -- 
  40. ===============================================================================
  41. Guy Gascoigne-Piggford                  | "... and then I said to myself, 'Why
  42. guy@wyrdrune.demon.co.uk                |  should I split it two ways -'"
  43. ggascoigne@cix.compulink.co.uk          |                          - G. MOUSER
  44.