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

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