Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'gcc3 part of April Dev Tools' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
gcc3 part of April Dev Tools
Authored by: hayne on Jul 23, '02 11:01:03AM

I don't really see the point of going through all that to get gcc3 since it is already included in the April 2002 (beta) version of the Developer Tools.
By default, the compiler used with the April Dev Tools is gcc2 but gcc3 is there and the release notes document that gets installed on your hard drive:
file://localhost/Developer/Documentation/ReleaseNotes/GCC3.html
tells you how to switch to use gcc3 instead of gcc2.

I have switched to use gcc3 (from the April Dev Tools) for all my commmand-line compiling. I did this via the command
sudo /usr/sbin/gcc_select 3
as given in the release notes. I have seen no problem at all.

I have not yet tried using gcc3 in Project Builder. The releases notes tell you how to do this - it is a separate step and it is fine to continue to use gcc2 within PB even though your default compiler (/usr/bin/cc) is gcc3.

By the way, as far as I know, the gcc3 that is supplied with the Dev Tools is identical to the one you can download from GNU, so there should be no problem with compatibility.



[ Reply to This | # ]
gcc3 part of April Dev Tools
Authored by: c15zyx on Jul 23, '02 06:24:07PM

Yup, using apple's gcc under the dev tools is far better, but this was written for people on dialups who would rather download 20MB compared to 200MB. Apple's gcc is quite a bit different from the FSF version, however the strange thing is that there have always been fixes and hacks to support darwin but have never been commited or placed in the mainline. Strange.



[ Reply to This | # ]