PDA

View Full Version : Gcc 3.4


Rawn027
06-20-2004, 10:20 PM
has anyone tried to install this yet? there is an xcode 1.2 out in DP release on the developers page. also is there a way to change the compile options for gcc to optimize more for the architecture b/c i know ym g5 can be alot faster :-P and gentoo isnt really there yet with ppc 64 but thats eventually where i wanna go with dual boot gentoo and mac osx

hayne
06-20-2004, 10:32 PM
Perhaps you meant XCode 1.5 - version 1.2 has been out in final release since April.

If you look on the Apple Developer site, you will find articles about how to optimize your code for the G5. It is not merely a matter of setting compiler switches.

I would advise against installing any non-Apple release of gcc unless you enjoy being on the bleeding edge.

Rawn027
06-20-2004, 10:45 PM
Perhaps you meant XCode 1.5 - version 1.2 has been out in final release since April.

If you look on the Apple Developer site, you will find articles about how to optimize your code for the G5. It is not merely a matter of setting compiler switches.

I would advise against installing any non-Apple release of gcc unless you enjoy being on the bleeding edge.

thanks for the tips :) i was mixing up apples java 1.4.2 DP1 downlload and xcode :) how come xcode 1.2 is not available through software update tho?

hayne
06-20-2004, 11:05 PM
how come xcode 1.2 is not available through software update tho?
I guess because of the size of the download - it is something like 600 MB.

xkp
08-03-2004, 12:38 PM
Are you talking about Xcode Tools v1.2?
If so, i have downloaded it and it contains ONLY the old GCC 3.3.
Does anyone know a way for obtaining binaries for a new GCC compiler for mac OS X?.
I need at least GCC 3.3.2, if not 3.4.
Thanks in advance.

hayne
08-03-2004, 03:08 PM
Does anyone know a way for obtaining binaries for a new GCC compiler for mac OS X?.
I need at least GCC 3.3.2, if not 3.4.

You can of course, compile your own from the GNU sources, but this is somewhat trouble-prone as I think Apple has made some OS X modifications and you will have to be sure to configure the build properly. Not something for the faint-hearted or novices.

Please tell us why you think you need a newer version of gcc than 3.3 (as is provided with XCode 1.2).

hayne
08-03-2004, 11:50 PM
I've just read that XCode 1.5 is expected to be released in a few days, so maybe you just want to wait for that. It will no doubt include a newer version of gcc, although I don't know which version.

xkp
08-04-2004, 03:50 AM
Please tell us why you think you need a newer version of gcc than 3.3 (as is provided with XCode 1.2).


Well in 3.3 there are bugs that have been fixed in 3.3.2 or higher versions.
And those bugs are giving us big problems. :mad:

hayne
08-04-2004, 08:38 AM
Well in 3.3 there are bugs that have been fixed in 3.3.2 or higher versions.
And those bugs are giving us big problems.

Which bugs in particular are giving you a problem?
The bugs present at this stage of gcc are usually fairly esoteric.
It would probably be easier to work around the bugs than to install a newer version of gcc yourself.

If you give us a short example of code where a bug is affecting you, I could probably suggest a work-around.