🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #49544

Profiling with Gcc/Gprof under Linux (gcc 2.4.5/SLS)

#49544
From: Han-Wen Nienhuys
Date: Tue, 04 Jan 1994 16:04
23 lines
1282 bytes
Hi!

I want to use profiling for my program (gcc -pg), but I don't really
know how to. When I first tried it, Gcc said

  can't find gcrt0.o

So I downloaded gcrt0.o from the slackware release.
After installing libgmon and gcrt0, gcc complained

  undefined symbol __fpu_[something]

What should I do to make this work: recompile the kernel? Get a newer
version of gcc? Get another missing lib?

My machine: 386 PC running Linux 0.99.14, gcc 2.4.5, the original
distribution was SLS 1.03 (yeah, I know, it's not the best..)

I'd appreciate any help.

	/HaWee/

{fido: 2:284/102,email: hanwen@stack.urc.tue.nl}
Technical Details
Message-ID: <2gc41u$fa7@tuegate.tue.nl>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!sun4nl!tuegate.tue.nl!blade.stack.urc.tue.nl!hanwen

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,615969e98f94a218,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1994-01-04 08:22:45 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!sun4nl!tuegate.tue.nl!blade.stack.urc.tue.nl!hanwen
From: hanwen@blade.stack.urc.tue.nl (Han-Wen Nienhuys)
Newsgroups: gnu.gcc.help
Subject: Profiling with Gcc/Gprof under Linux (gcc 2.4.5/SLS)
Date: 4 Jan 1994 16:04:14 GMT
Organization: MCGV Stack, Eindhoven University of Technology, the Netherlands.
Lines: 25
Message-ID: <2gc41u$fa7@tuegate.tue.nl>
NNTP-Posting-Host: blade.stack.urc.tue.nl