Re: gcc3.4 plus Apple's gcc3.3
Re: gcc3.4 plus Apple's gcc3.3
- Subject: Re: gcc3.4 plus Apple's gcc3.3
- From: Bill Northcott <email@hidden>
- Date: Sat, 2 Oct 2004 07:52:27 +1000
You can easily build and install Apple versions of gcc-3.4 and gcc-4.0
(nee 3.5).
Just go to the FSF gcc site at gcc.gnu.org. Go to the cvs section to
get code. What you need is all on the apple-ppc-branch cvs tag.
If you just use apple-ppc-branch tag you will get the latest state of
the branch which may not build. A better approach is to look at the
web cvs. Down the bottom of the pages within the compiler code you
will find a pop-up which lists all the tags. I think apple-gcc-17xx
tags below about 1720 are gcc-3.4 and above that are gcc-4.0 (3.5).
Use the latest of those tags. You will find the most recent Xcode
compilers identify themselves with these same tag numbers:
[PBG4-BN:JAGS/JAGS-0.65/build] billn% gcc-3.4 -v
Reading specs from /usr/lib/gcc/powerpc-apple-darwin/3.4/specs
gcc version 3.4 20031014 (Apple Computer, Inc. build 1716)
Once you have the code just follow the instructions in README.APPLE to
build and install. This will not damage existing gcc-2.95, gcc-3.2 or
gcc-3.3 installations. You can change the default compiler using
gcc_select as documented in the developer tools.
To build these recent compilers, you must have the latest Xcode-1.5.
With a little futzing on the latest versions yoou can also build other
languages and handy extras like libffi and the GNU Objective-C runtime.
In my usage, I have found these Apple compilers essentially identical
to their FSF counterparts. They work perfectly with Xcode and all the
other Apple tools.
Enjoy
Bill Northcott
From: email@hidden
Subject: gcc3.4 plus Apple's gcc3.3
I am involved in porting a C++ class framework we use at work to OSX /
Darwin PPC so we can target OSX as well as Win32 and Linux. This code
demands gcc3.4, which shouldn't be an issue (gcc3.4 "make bootstrap"
seemed to work just fine on my 1.33GHz 12" PowerBook), but I would like
to, if possible, use gcc-select to choose between Apple's gcc3.3 and
FSFs gcc3.4. Has anyone else done this? I've not researched how I
would approach doing this yet (this posting is part of that research
<smile>).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden