Re: gprof SID

"Frank Ch. Eigler" <[email protected]> Tue, 13 Feb 2007 06:36:44 -0500
Newsgroups gmane.comp.emulators.sid.devel
Message-ID <[email protected]>
Hi -

> Can I use gprof to profile SID? And if it is possible, then how should
> I activate the -pg option when building the SID simulator?

This is possible: just configure with "--disable-shared" and build with

% make CXXFLAGS="-O2 -pg" LDFLAGS="-pg"

or something similar.

- FChE