Discussion Locked

compiling C with xref

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am working with a C program on HP-UX. I want a numbered listing with cross-reference of variables and labels. My method of compilation (my first C compilation in this environment - or anywhere for that matter) is with make on a make file full of incomprehensible stuff. I have commented out some rm lines, which I was told would help. What do I have to do to get the xref, or is this something the unix environments won't give me?

5 replies

by john.a.wills

I have found cxref in the manual (after an excursus to the Imperial College web site), but it won't work on a Pro*C file. If I make my source into a plain C file there is trouble with an include file, I suppose one that Pro*C needs: guarpfe.h. The file compiles okay.

by john.a.wills

It is a bit late for my actual problem, but if the problem recurs I will have some idea, supposing I can decipher the make file.

This discussion is closed to new replies.