home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c++:19039 comp.lang.c:19598
- Path: sparky!uunet!mcsun!sun4nl!tuegate.tue.nl!eebsun1.eeb.ele.tue.nl
- From: heiniw@eebsun1.eeb.ele.tue.nl (Heini Withagen)
- Newsgroups: comp.lang.c++,comp.lang.c
- Subject: Problems with gcc/g++ and profiling
- Message-ID: <6966@tuegate.tue.nl>
- Date: 12 Jan 93 15:37:52 GMT
- Sender: root@tuegate.tue.nl
- Followup-To: comp.lang.c++
- Organization: Electronic Circuit Design Group, Eindhoven University of Technology, The Netherlands
- Lines: 28
-
-
-
- I am having trouble with gcc/g++ 2.2.2 compiling programs with -pg
- options for profiling. I have been looking what g++ actually does
- during compilation/linking (-v option) and compared this to 'cc' (on
- a SUN Sparc).
-
- It seem that g++ is linking the wrong libraries which do not contain
- the right function for profiling. When I try to make a seperate call
- to the linker with the same libraries substituded as with 'cc', I get
- a long list of 'Undefined' names which look like 'LBE??' and 'LBB??'.
-
-
- Does anyone know the answer to my problems ?? Please help me, because
- I am getting quite desperate.
-
-
- Thanks very much in advance,
-
- Heini Withagen
- Department of Electrical Engineering EH 9.29
- Eindhoven Technical University
- P.O. Box 513
- 5600 MB Eindhoven
- The Netherlands
- Phone: 31-40472366
- Fax: 31-40455674
- E-mail: heiniw@eeb.ele.tue.nl
-