Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: gcc update in Xcode 2.0

Author: Andreas Guettinger

Date: 18:02:45 10/30/05

Go up one level in this thread


Hi Daniel,

I recon you don't have the latest Dev Tools installed. You can get the latest
version on the Apple Developper website, free registration required, but
probably you already have an AppleID if you bought something at Apple.
Version I use is Xcode2.1. Contains gcc4.0.0 build 5026:

orcabox:~ andreas$ gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5026.obj~19/src/configure
--disable-checking --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^+.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/gcc/darwin/4.0/c++ --build=powerpc-apple-darwin8
--host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.0 (Apple Computer, Inc. build 5026)

As you see, Apple does their own builds of gcc, incorporating platform specific
adjustmenst and optimisations such as autovectorisation for PowerPC. There are
several builds of the Apple gcc that originate from gcc4.0.0, but are probably
not identical to the gnu gcc 4.0.0 versions. I would not exchange it with a
standard gcc branch version, you may lose some of this optimistions and also
some of the compatibility to current versions of OS X and Xcode.

regards
Andy


October 30, 2005 at 19:43:59, Daniel Mehrmannn wrote:

>Hello,
>
>i'm using MAC OSX 10.4.2 and Xcode 2.0. I was happy to see that gcc 4.00 was
>shipped with my OSX DVD's. But gcc 4.00 has some ugly bugs and i wanna make an
>compiler update. How can i do that ?
>I think the gcc installation is done on a special way for Xcode ?! May using a
>normal gcc package could destroy my installation ?
>
>Best,
>Daniell
>
>daniels-ibook-g4:~ daniel$ gcc -v
>Reading specs from /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/specs
>Configured with: /private/var/tmp/gcc/gcc-4061.obj~8/src/configure
>--disable-checking --prefix=/usr --mandir=/share/man
>--enable-languages=c,objc,c++,obj-c++
>--program-transform-name=/^[cg][^+.-]*$/s/$/-4.0/
>--with-gxx-include-dir=/include/gcc/darwin/4.0/c++ --build=powerpc-apple-darwin8
>--host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8
>Thread model: posix
>gcc version 4.0.0 20041026 (Apple Computer, Inc. build 4061)
>daniels-ibook-g4:~ daniel$



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.