Closed Bug 297775 Opened 20 years ago Closed 20 years ago

Build instructions should reflect ability to build with gcc 4

Categories

(Camino Graveyard :: Product Site, enhancement)

PowerPC
macOS
enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mark, Assigned: moz)

References

()

Details

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050615 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050615 Firefox/1.0+ Sorry, Sam. I didn't expect that this would change so soon. The first FAQ should look like this: Q. Can I build on Mac OS X 10.4 Tiger using GCC 4? A. Yes, with a few caveats. Builds produced with GCC 4 will only run on Mac OS X 10.3.9 and above. Because of this, official Camino releases for current Apple hardware will continue to be built with GCC 3.3, providing compatibility with Mac OS X 10.2 Jaguar. To use GCC 3.3 on Tiger, simply enter sudo gcc_select 3.3 in a terminal. The version of GCC 4 that initially shipped with Mac OS X 10.4 Tiger is a pre-release version and will not build Camino. Users with Xcode 2.0 are encouraged to upgrade to Xcode 2.1, which includes a working version of GCC 4, or to switch to GCC 3.3 with sudo gcc_select 3.3. If you've read this and are still positive that you want to use GCC 4, you must add the following line to the end of your .mozconfig file: ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.3.9.sdk GCC 4 users will also need to create a link to the Shared Menus framework the 10.3.9 SDK if one does not already exist. $ sudo mkdir -p /Developer/SDKs/MacOSX10.3.9.sdk/Library/Frameworks $ sudo ln -s /Library/Frameworks/SharedMenusCocoa.framework /Developer/SDKs/MacOSX10.3.9.sdk/Library/Frameworks Reproducible: Always Steps to Reproduce:
Depends on: 297688
> GCC 4 users will also need to create a link to the Shared Menus framework the > 10.3.9 SDK if one does not already exist. I left out a word after "framework" - guess which one?
CCing Wevah, Jasper. This will require moving the old GCC 4 information. As noted in the bug, we're waiting for bug 297688 to land. If I don't do this when the bug lands, can one of you two take care of it?
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Also need to get rid of these sentences in the Preparing to Build section: "Building on Mac OS X 10.4 Tiger requires the use of GCC 3.3 and not the included GCC 4. See the FAQ at the bottom of this page for more information."
Assignee: bugzilla → mozilla
Status: ASSIGNED → NEW
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Fixed.
Status: RESOLVED → VERIFIED
Fixed.
You need to log in before you can comment on or make changes to this bug.