Re: What Linux for: CC /LIST=x.lst
- From: "Richard B. Gilbert" <rgilbert88@xxxxxxxxxxx>
- Date: Wed, 11 Feb 2009 15:46:38 -0500
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 linesHow 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.
.
- Follow-Ups:
- Re: What Linux for: CC /LIST=x.lst
- From: Bob Eager
- 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
- What Linux for: CC /LIST=x.lst
- Prev by Date: Re: Two new questions
- Next by Date: Re: Amount of memory saved by INSTALL-ing ?
- 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
|