Sep 022009

Because the developer tools on Mac OS X 10.6 default to building for 64-bit now, there are a few changes you have to make in order to build Mozilla on Mac OS X 10.6. Josh Aas wrote a very helpful blog post a few days ago about this.

I followed his instructions and successfully built Namoroka on my Mac at home, so I revised the Mac OS X build prerequisites article to explain how to configure things to successfully compile a 32-bit Intel build of Mozilla on Mac OS X 10.6. It also still explains how to do it on previous versions of Mac OS X.

Hopefully this added information will help you get going!

In related news, progress is being made on building Firefox as a 64-bit binary; the guys working on it are estimating it’ll be running within a month or so. I look forward to seeing it in action!

 Posted by at 9:55 AM

  2 Responses to “Building Mozilla on Mac OS X 10.6 (“Snow Leopard”)”

  1. Thank you for the changes in doc!

  2. I have followed the intstructions for building Mozilla on 10.6, and i get a “C compiler cannot create executables.
    ” error when I try to build. The complete output is:

    checking host system type… x86_64-apple-darwin10.0.0
    checking target system type… i386-apple-darwin8.0.0
    checking build system type… x86_64-apple-darwin10.0.0
    checking for mawk… no
    checking for gawk… gawk
    checking for perl5… /opt/local/bin/perl5
    cross compiling from x86_64-apple-darwin10.0.0 to i386-apple-darwin8.0.0
    checking for host c compiler… checking for gcc-4.2… gcc-4.2
    checking for host c++ compiler… checking for g++-4.2… g++-4.2
    checking for ranlib… no
    checking for ar… no
    checking whether the host c compiler (gcc-4.2 ) works… yes
    checking whether the host c++ compiler (g++-4.2 ) works… yes
    checking for i386-apple-darwin8.0.0-gcc… no
    checking for i386-apple-darwin8.0.0-gcc… no
    checking for gcc… :
    checking whether the C compiler (: ) works… no
    configure: error: installation or configuration problem: C compiler cannot create executables.


This site uses Akismet to reduce spam. Learn how your comment data is processed.