Re: What Linux for: CC /LIST=x.lst
- From: "Bob Eager" <rde42@xxxxxxxxxxx>
- Date: 11 Feb 2009 21:02:59 GMT
On Wed, 11 Feb 2009 20:46:38 UTC, "Richard B. Gilbert"
<rgilbert88@xxxxxxxxxxx> wrote:
Bob Eager wrote:
On Wed, 11 Feb 2009 17:20:05 UTC, "C.W.Holeman II"
<cwhii_google_spam@xxxxxxxxx> wrote:
Richard B. Gilbert wrote:
C.W.Holeman II wrote:info g++ = 14845 lines
How do I get G++ on Linux to produce a compiler listing file?You have to read the man page. The last time I looked that was at least
100 pages! It's has been a few years since I last used it and I don't
remember the details. Sorry!
Would somebody on a VMS system compile this for me and send or post
the listing file. Then I could show the people in Unixland what I am
looking for because the phrase "compiler listing" does not seem to work.
#include <iostream>
int main(){
std::cout << "Hello, world!\n";
}
You're looking at a different idiom. What information, specifically, are
you after? (other than a line-numbered copy of the source, and the date
of compilation?)
I think he means what a VMS user gets from a listing. The statements
are sequentially numbered, error messages immediately follow the line in
error, etc, etc. You can also get a cross reference that can be an
enormous help while debugging; it lists every variable and the line
number of each statement that references it. Some of the better ones
will tell you all the lines where "X" was assigned a value.
Oh, I know what they give you...I was wondering what specifically he
wanted. Most of those things are available, but it's the UNIX philosophy
for them to be available via separate programs.
--
Bob Eager
.
- Follow-Ups:
- Re: What Linux for: CC /LIST=x.lst
- From: Richard B. Gilbert
- Re: What Linux for: CC /LIST=x.lst
- From: johnwallace4
- Re: What Linux for: CC /LIST=x.lst
- References:
- What Linux for: CC /LIST=x.lst
- From: C.W.Holeman II
- Re: What Linux for: CC /LIST=x.lst
- From: Richard B. Gilbert
- Re: What Linux for: CC /LIST=x.lst
- From: C.W.Holeman II
- Re: What Linux for: CC /LIST=x.lst
- From: Bob Eager
- Re: What Linux for: CC /LIST=x.lst
- From: Richard B. Gilbert
- What Linux for: CC /LIST=x.lst
- Prev by Date: [Info-vax] CDROM on Alphaserver DS10
- Next by Date: Re: [Info-vax] CDROM on Alphaserver DS10
- Previous by thread: Re: What Linux for: CC /LIST=x.lst
- Next by thread: Re: What Linux for: CC /LIST=x.lst
- Index(es):
Relevant Pages
|