home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / software / 5104 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  2.9 KB

  1. Xref: sparky comp.software-eng:5104 alt.sources.d:1593 comp.sources.d:1492
  2. Newsgroups: comp.software-eng,alt.sources.d,comp.sources.d
  3. Path: sparky!uunet!panther!mothost!merlin.dev.cdx.mot.com!merlin.dev.cdx.mot.com!lezz
  4. From: lezz@merlin.dev.cdx.mot.com (Lezz Giles)
  5. Subject: Re: cscope? trus?
  6. Message-ID: <1992Dec21.171339.29927@merlin.dev.cdx.mot.com>
  7. Sender: news@merlin.dev.cdx.mot.com (USENET News System)
  8. Nntp-Posting-Host: fenric.dev.cdx.mot.com
  9. Reply-To: lezz@merlin.dev.cdx.mot.com (Lezz Giles)
  10. Organization: Motorola Codex, Canton, MA
  11. References: <BzH2K4.1uz4@austin.ibm.com> <1992Dec19.191727.1407@vpnet.chi.il.us>
  12. Date: Mon, 21 Dec 1992 17:13:39 GMT
  13. Lines: 44
  14.  
  15. In article <1992Dec19.191727.1407@vpnet.chi.il.us>, hb@vpnet.chi.il.us (hank barta) writes:
  16. |>Jerry Heyman (jerry@austin.ibm.com) wrote:
  17. |>
  18. |>: A user has just approached me asking if we have (or can get access to) a
  19. |>: program called cscope.  It is a file browsing tool which will index and load
  20. |>: files from a given directory and index based on the function names, identify
  21. |>: where it is called and give the use the ability to switch immediately into
  22. |>: that particular file/function call.  I don't know if this is PD or a
  23. |>: commercial
  24. |>: product, but if anyone is familiar with this I'd be glad to hear about it.
  25. |>...
  26. |>: ... if
  27. |>: anyone is familiar with this I'd be glad to hear about them.
  28. |>
  29. |>: you can post here, or I would prefer e-mail to: jerry@austin.ibm.com
  30. |>   'cscope' shows up in the man pages of both SCO and ISC development
  31. |>   kits w/out attribution to SCO, Microsoft or LPI, so I believe that
  32. |>   it is probably part of the AT&T development tools. (And for this
  33. |>   reason, may not work with ANSI code.)
  34.  
  35. We use cscope a lot here - it is an excellent tool for code browsing for
  36. small and large amounts of code (to find 200 occurences of a specific symbol
  37. in approx 1 million lines of code = 5 seconds (DECstation 5000/133)).
  38. It is available from AT&T's toolchest (contact AT&T since I can't remember
  39. the phone number) for a relatively negligable cost.  Cscope doesn't work
  40. perfectly with ANSI-C code - specifically it doesn't understand structures
  41. with fields that are pointers to functions - it gets confused about the
  42. symbols in the parameter list and whether they're global definitions or not.
  43. This is not a major problem, and even with this I'd put cscope up there
  44. with Gimpel's Flexelint as an essential piece of software for software
  45. development in C.
  46.  
  47. BTW - cscope also understands $VPATH, as used by system V make and gnu make,
  48. which means you can construct a really neat development environment with
  49. sophisticated code-sharing for almost no money.  For more details on this,
  50. simply send your job-offers to me via e-mail...
  51.  
  52. Lezz "going to the highest bidder" Giles
  53.  
  54. P.S. If you work for Motorola then you're allowed to use the copy of cscope
  55. that we already have - send me e-mail.
  56.  
  57. P.P.S. If you work for Motorola then append this to that bit about the
  58. job-offers... ':-)'
  59.