Re: Objective-C++ compiler updates?
Re: Objective-C++ compiler updates?
- Subject: Re: Objective-C++ compiler updates?
- From: <email@hidden>
- Date: Sat, 7 Dec 2002 12:13:09 -0800
Hi,
You have to be careful when you do this. Apple may not have released all
their fixes to gcc to the general public yet. Additionally, even if they
released them, they may not be entirely available due to vagarities of cvs and
merging, etc.
Another thing to keep an eye out for is binary compatibility. From GCC
version 2.95.x to version 3.1, there was a major split, where the .o files
from the C++ compiler were no longer backwards compatible. ie: a project
would have to be built completely with either version 2.95 or 3.1. This is
what mac os x 10.2 is also about - its the first version of mac os x to use
gcc 3.1. I think apple maintained backwards compatability with older
binaries, but binaries compiled with gcc 3.1 wont run on mac os x 10.1 or
older. That's actually a guess, but I think its right.
Anyways, all this isnt to dissuade you from trying to get a new compiler, you
just want to be careful before you go all out.
Another option is to actually report the bug to Apple. AFAIK they are the
only maintainers of the Objective-C++ part of GCC.
Good luck!
-ryan
Evan Jones <email@hidden> said:
>
On Friday, Dec 6, 2002, at 01:47 Europe/Zurich, Brad Oliver wrote:
>
> I'm not entirely sure if this is the most appropriate place for this,
>
> but
>
> I've run into several reproducible conditions that will crash the
>
> Objective-C++ compiler that shipped with Jaguar (cc1objplus).
>
>
I have run into similar issues, particularly when I was trying to use
>
C++ namespaces to avoid collisions between a C++ application I was
>
linking against the MacOS X APIs.
>
>
> Is there a more recent build available anywhere, even if it's not
>
> "final"?
>
>
I have not tried this myself, but you can always download the most
>
recent version of gcc and compile and install it. I believe that Apple
>
is a contributor to GCC's tree, so the standard GCC distribution
>
*should* work to build applications for Mac OS X:
>
>
http://gcc.gnu.org/
>
>
>
>
>
This is one of the reasons I feel that developing for MacOS X is a
>
refreshing change: Many (but not as much as I would like) of the "core"
>
development tools and libraries are developed "in the open".
>
>
--
>
Evan Jones: http://www.eng.uwaterloo.ca/~ejones/
>
"Computers are useless. They can only give answers" - Pablo Picasso
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.