Re: profiling on win32
"Merlin Moncure" <[email protected]> Fri, 26 Aug 2005 11:08:06 -0400
| Newsgroups | gmane.comp.db.postgresql.devel.win32 |
|---|---|
| Message-ID | <[email protected]> |
> "Merlin Moncure" <[email protected]> writes: > > 4. to compile postgresql for profiling (assumes you already have mingw, > > etc. installed). > > a. do make clean, make, and make install as normal. > > b. edit makefile.global and add -pg to the end of cflags line. > > c. do make clean, and make, and make install of just the backend. you > > can do this by running make from backend folder. >=20 > You shouldn't have to touch Makefile.global; there's a parameter built > into the makefiles for this. Just do >=20 > cd .../src/backend > make clean > make PROFILE=3D"-pg" all >=20 > (Quoting syntax might be different on Windows, but as long as it's > GNU make I'd expect this to work.) That works as-is in the msys shell. cool. Merlin ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [email protected] so that your message can get through to the mailing list cleanly