Article View: gnu.g++.help
Article #669g++ -g isn't working
From: Guy Gascoigne-Piggford
Date: Thu, 07 Jan 1993 22:41
Date: Thu, 07 Jan 1993 22:41
32 lines
1886 bytes
1886 bytes
gcc 2.3.3 : Dell SVR4 : i486
I can't get g++ to produce anything with any debug information in it.
Every file I try gives me undefined name errors from the assembler.
eg.
[159 /home/guy/src/work ] cat tt.C
#include <stream.h>
main()
{
cout << "Hello World\n";
}
[160 /home/guy/src/work ] g++ -v tt.C -o tt -g
Reading specs from /usr/local/lib/gcc-lib/i486-sysv4/2.3.3/specs
gcc version 2.3.3
/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
GNU CPP version 2.3.3 (i386 System V Release 4)
/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
GNU C++ version 2.3.3 (i386 System V Release 4) compiled by GNU C version 2.3.2.
/usr/ccs/bin/as -V -Qy -o /var/tmp/cca000Bn1.o /var/tmp/cca000Bn.s
as: Standard C Development Environment (SCDE) 5.0 04/26/91
(EOF):undefined name: .L_T51
Any clues? Have I found a bug or just screwed up the build?
--
===============================================================================
Guy Gascoigne-Piggford | "... and then I said to myself, 'Why
guy@wyrdrune.demon.co.uk | should I split it two ways -'"
ggascoigne@cix.compulink.co.uk | - G. MOUSER
Technical Details
Message-ID:
<1993Jan7.224148.1392@wyrdrune.demon.co.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!wyrdrune.demon.co.uk!localhost!guyShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.help Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!wyrdrune.demon.co.uk!localhost!guy From: guy@wyrdrune.demon.co.uk (Guy Gascoigne-Piggford) Subject: g++ -g isn't working Message-ID: <1993Jan7.224148.1392@wyrdrune.demon.co.uk> Sender: guy@localhost (Guy Gascoigne-Piggford) Reply-To: guy@wyrdrune.demon.co.uk Organization: Wyrdrune Date: Thu, 7 Jan 1993 22:41:48 GMT Lines: 32