Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* gprof anyone?
@ 1997-08-27  1:04 Andrew Morgan
  0 siblings, 0 replies; only message in thread
From: Andrew Morgan @ 1997-08-27  1:04 UTC (permalink / raw)


Hi,

Can anyone give me a pointer as to making gcc (2.7.2.1-2) and gprof
(binutils-2.7.0.2-4) work together?  (btw. glibc-devel-0.961212-5)

	file:~ cat > test.c << EOT
	> main()
	> {
	> printf("this is a test\n");
	> return 0;
	> }
	> EOT
	file:~ gcc -pg test.c
	file:~ ./a.out 
	Segmentation fault (core dumped)
	file:~ gcc -p test.c
	file:~ ./a.out 
	this is a test
	file:~ gprof ./a.out 
	gprof: gmon.out: unexpected end of file

I guess I am doing/have-something bad here.  Anyone want to point it
out?

Thanks

Andrew

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-08-27  1:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-08-27  1:04 gprof anyone? Andrew Morgan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox