Re: How to build static, and with gprof enabled
Chris Seawood <[email protected]> Fri, 12 Apr 2002 09:28:59 -0700
| Newsgroups | gmane.comp.mozilla.builds |
|---|---|
| Organization | Peace and Love, Inc. |
| Message-ID | <[email protected]> |
John Hinsdale wrote: > Hi I'm trying to build a Mozilla 0.9.9 under Linux from > the source with two things different from the default: > > - I would like to enable compiling of everything for > use with the GNU profiler, gprof (i.e., I want to > compile with the "-pg" flag) Either pass the flags into --enable-optimize or set CFLAGS/CXXFLAGS in your .mozconfig file. > - I would like a static build as this makes things a > bit better w/ gprof. We don't support doing a fully static build (don't ask). The options that you want are --disable-shared --enable-static. See the build configurator page for the different build options. http://webtools.mozilla.org/build/config.cgi - cls