home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 20781 < prev    next >
Encoding:
Text File  |  1993-01-06  |  1.9 KB  |  42 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!cs.tu-berlin.de!elwood!tubkom.prz.tu-berlin.de!pcastine
  3. From: pcastine@tubkom.prz.tu-berlin.de (Peter Castine)
  4. Subject: Re: think c profiler problems
  5. Message-ID: <1993Jan6.131106.27912@prz.tu-berlin.de>
  6. Keywords: think c profiler
  7. Sender: news@prz.tu-berlin.de (Newsadmin Elwood-PRZ)
  8. Organization: TU-Berlin TUBKOM, Germany
  9. References: <jlawrie.726060821@sfu.ca>
  10. Date: Wed, 6 Jan 1993 13:11:06 GMT
  11. Lines: 29
  12.  
  13. In article <jlawrie.726060821@sfu.ca> jlawrie@fraser.sfu.ca (John William Lawrie) writes:
  14. >Is there anybody out there who can help me get the profiler in think c 5.04
  15. >to work properly.  I am using the starter project and did the instruction
  16. >listed in the think c user manual about how to make it work.  I turned on the
  17. >generate profile calls option and recompiled everything.  When I tried to run I got ther message data segment to big.  The manual said to turn on the use far
  18. >data option and try again.
  19. >
  20. >So I turned it on and recompiled everything and got the same message.
  21. >
  22. >If anybody can tell me how to get the profiler going, the help would be greatly
  23. >appreciated.
  24.  
  25. I know this problem well.
  26.  
  27. Now that your project is using far data, the profile library needs to use
  28. far data, too. In order for this to happen, make a copy of the profile library
  29. (its a THINK C project), call it something like 'Profile Far Data', open
  30. the new profile library in THINK C, turn far data on there and rebuild. Then
  31. close the profiler project, open your project, remove the standard profiler
  32. from your project, add the new profiler library, rebuild and run.
  33.  
  34. Works for me.
  35.  
  36. Hope this helps.
  37. -- 
  38. Peter Castine.                       "Errors and anachronisms ought to be
  39. Technische Universitaet Berlin        few. If they do occur, I take full
  40. pcastine@tubkom.prz.tu-berlin.de      responsibility like Richard Nixon."
  41.                                         -- Gore Vidal
  42.