🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51746

help: gcc first phase (cc1) output format

#51746
From: HongHai Shen
Date: Thu, 08 Apr 1993 17:29
25 lines
1657 bytes
Hello, I have the following problem with regard to the gcc first phase of
compling, and I wonder if someone can offer me help.

I am porting a system we developed on Sun to IBM AIX RS6000.  In the system,
we used gcc-cc1's to parse our input file and generate symbol table entries.
The command we use is "cpp x.c | cc1 -gstabs -quiet" where x.c is our
input program to be parsed (C programs).

The problem with AIX is that it uses xcoff format for debug information.
But what I want is the dbx format.  So I define the following macros in
config/rs6000.h before I install gcc:

#define DBX_DEBUGGING_INFO
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG

However, cc1 still does not produce the desired dbx format.  Any suggestions?
Any information will be appreciated.

Please email to hhs@cs.purdue.edu, or give me your phone# so that I can call
you.

Thanks.

Hong-Hai
(hhs@cs.purdue.edu)
Technical Details
Message-ID: <1q1ndiINNrcq@lisa.cs.purdue.edu>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!gatech!purdue!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,9dc32068e99f5ebd,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: 1025b4,9dc32068e99f5ebd,start
X-Google-Attributes: gid1025b4,public
X-Google-Thread: 115614,9dc32068e99f5ebd,start
X-Google-Attributes: gid115614,public
X-Google-ArrivalTime: 1993-04-08 10:38:59 PST
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!gatech!purdue!not-for-mail
From: hhs@cs.purdue.edu (HongHai Shen)
Newsgroups: gnu.gcc.help,gnu.misc.discuss,comp.unix.aix
Subject: help: gcc first phase (cc1) output format
Date: 8 Apr 1993 12:29:22 -0500
Organization: Purdue University
Lines: 25
Message-ID: <1q1ndiINNrcq@lisa.cs.purdue.edu>
NNTP-Posting-Host: lisa.cs.purdue.edu