🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Guy Gascoigne-Piggford Thu, 07 Jan 1993 22:41
g++ -g isn't working
#669
Author: Guy Gascoigne-Piggford
Date: Thu, 07 Jan 1993 22:41
32 lines
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
Re: g++ -g isn't working
#670
Author: Joe Buck
Date: Thu, 07 Jan 1993 22:54
13 lines
810 bytes
In article <1993Jan7.224148.1392@wyrdrune.demon.co.uk> guy@wyrdrune.demon.co.uk writes:
>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.

See the FAQ.  -g doesn't work with g++ on SVR4 yet.  Maybe in 2.4.
Ron, do you know anything about this?



--
Joe Buck	jbuck@ohm.berkeley.edu
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