Sfink/Building Mozilla

From MozillaWiki
Jump to: navigation, search

Initial Experience

Following https://developer.mozilla.org/En/Simple_Firefox_build

I am building on Fedora 10.

  • libnotify-devel missing (error: something about libnotify.pc not being found)
  • Missing iwlib.h. Followed suggestion of installing wireless-tools-devel
  • And that's it! Far better than the last time I tried compiling FF (on another machine).

It took about half an hour for a full build (not bad!) and 1.5 minutes for a clean rebuild (bad).

Now I've switched to Fedora 13 on a fast machine. Unfortunately, I didn't pay attention to build time.

Visual Studio 2005

Linking with Visual Studio 2005 on XP: need

 https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=18623

to avoid this link error:

 shell32.lib(shguid.obj) : fatal error LNK1103: debugging information corrupt; recompile module

Virus Checkers

On any version of Windows, online/realtime virus checkers fire off every time you start a program. When using shell-based tools, such as configure, this murders performance. So you'll want to disable anything you possibly can.

In Windows 7, I got a big gain out of turning off the realtime component of Windows Defender (it's in the control panel.)