Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Andrew Morgan <morgan@physics.ucla.edu>
Subject: gprof anyone?
Date: Tue, 26 Aug 1997 18:04:02 -0700 (PDT)	[thread overview]
Message-ID: <199708270104.SAA01831@quark> (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

                 reply	other threads:[~1997-08-27  1:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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