home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / cplus / 19040 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  1.2 KB

  1. Path: sparky!uunet!mcsun!sun4nl!tuegate.tue.nl!eebsun1.eeb.ele.tue.nl
  2. From: heiniw@eebsun1.eeb.ele.tue.nl (Heini Withagen)
  3. Newsgroups: comp.lang.c++
  4. Subject: Problems with gcc/g++ and profiling
  5. Message-ID: <6967@tuegate.tue.nl>
  6. Date: 12 Jan 93 15:40:09 GMT
  7. Sender: root@tuegate.tue.nl
  8. Organization: Electronic Circuit Design Group, Eindhoven University of Technology, The Netherlands
  9. Lines: 28
  10.  
  11.  
  12.  
  13. I am having trouble with gcc/g++ 2.2.2 compiling programs with -pg
  14. options for profiling. I have been looking what g++ actually does
  15. during compilation/linking (-v option) and compared this to 'cc' (on 
  16. a SUN Sparc).
  17.  
  18. It seem that g++ is linking the wrong libraries which do not contain
  19. the right function for profiling. When I try to make a seperate call
  20. to the linker with the same libraries substituded as with 'cc', I get
  21. a long list of 'Undefined' names which look like 'LBE??' and 'LBB??'.
  22.  
  23.  
  24. Does anyone know the answer to my problems ?? Please help me, because
  25. I am getting quite desperate.
  26.  
  27.  
  28. Thanks very much in advance,
  29.  
  30. Heini Withagen
  31. Department of Electrical Engineering EH 9.29
  32. Eindhoven Technical University
  33. P.O. Box 513
  34. 5600 MB Eindhoven
  35. The Netherlands
  36. Phone: 31-40472366
  37. Fax:   31-40455674
  38. E-mail: heiniw@eeb.ele.tue.nl
  39.