GCC 3.3 Update for Mac OS X Available 67
snowtigger writes "The August 2003 GCC updater includes the new GCC 3.3 compiler in addition to other updates that will allow development of G5 optimized code with the December 2002 Mac OS X Developer Tools. This update is available to all ADC members from the Download Software area of the ADC web site (free registration required). It will be interesting to see what Steve Jobs will present in Paris tomorrow; is XCode ready?"
We'll find out in a couple of hours. (Score:4, Informative)
Re:We'll find out in a couple of hours. (Score:3, Informative)
http://99mac.com/nyhetsbilder/appleexpo2003/ [99mac.com]
In my experience stuff like that has only been covered up for new hardware...
-- james
Re:We'll find out in a couple of hours. (Score:3, Interesting)
One of my friends just ordered one of these puppies, the manager of the store down here in
Binary compatibility (Score:1, Insightful)
Re:Binary compatibility (Score:5, Informative)
* That was going to be a much more offensive analogy...
Re:Binary compatibility (Score:4, Informative)
First off, this was about the C++ ABI used by GCC, which indeed changed (again!) between GCC 3.1 and 3.3, meaning that C++ code is incompatbile between those versions.
Next, Mach-O and CFM are binary executable formats, which is a whole other story. Besides, you make it sound as if they were the same, when in fact they are not. They are two very different formats. CFM is the one used traditonally, the only one supported by classic MacOS. Max OS X also supports it, and in fact if you want your Carbon programs to run both on OS 9 and OS X, you have to supply them in CFM. However, GCC is *not* able of outputting CFM. The only C/C++ compiler running on OS X which support this is (AFAIK) MetroWerks CodeWarrior.
Mach-O is the binary format of choice for anything else which only runs on OS X, and it's the only format GCC and the IBM XL compiler support (on OS X, that is).
Re:Binary compatibility (Score:3, Informative)
The ABI that matters is for C on OS X. Carbon uses it. Even Objective-C & Cocoa use it (the calls are mapped to a C call).
As for C++ ABI... I'm asking someone who knows
Re:Binary compatibility (Score:3, Informative)
My point was that the C ABI is standard atop of these, and that that's the ABI that's most important. I'll post when I get the right info on the C++ ABI compatibility...
CHUD (Score:5, Informative)
It lets you tweak configuration registers in almost all parts of the system, gather and graph lots of profile information (instruction mix, cache stalls, etc...) from programs, and lots of other cool things.
Re:CHUD (Score:5, Funny)
Re:CHUD (Score:1, Funny)
http://imdb.com/title/tt0087015/
Re:CHUD (Score:3, Interesting)
Fink (Score:5, Informative)
Re:Fink (Score:2)
Btw, it's been out for about a week.
Re:Fink (Score:1)
Re:Fink (Score:5, Informative)
bash-2.05a$ ls
/usr/bin/gcc
/usr/bin/gcc3
gcc is a symlink to whatever compliler you are currently using - so to go back to v3.1 just point it to gcc3. Similar stuff applies for g++.
Also Project Builder doesn't know about gcc3.3 without changing some of the compile options and will default to gcc2.95 so it is important to RTFM before updating!
Re:Fink (Score:5, Informative)
There's no man page for gcc_select (not on my Mac anyway) but "gcc_select -h" will get you some brief help.
Re:Fink (Score:2)
If you installed the GCC3.3 update before learning about the warning, try doing a CVS update for Fink with `sudo fink -y selfupdate` (or maybe `sudo fink -y selfupdate-cvs`, depending on options you may have selected in the past). This may force you to star
Re:Fink (Score:1)
Re:Fink (Score:2)
Re:Fink (Score:2)
Panther and/or Powerbooks (Score:3, Interesting)
On the other hand, the question of what we will hear (if anything) about the Powerbooks is beyond my ability to prognosticate. On one hand, I think that they *must* finally be coming out. I mean, it's the year of the laptop and we haven't seen anything since January. However, reportedly the holdup has been because of Motorola's inability to produce the 7457 in quantity, in which case you can never be sure how long they will drag their feet.
Re:Panther and/or Powerbooks (Score:1)
I think it's very likely though that Jobs will announce a definite release date.
Re:Panther and/or Powerbooks (Score:3, Interesting)
The answer to the first question was `We never comment on products until they have been anounced. If, hypothetically speaking, new ones were to be announced by Steve in his keynote next week [this was last week] then we would automatically upgrade your order to the new model'.
The answer to question two was `Don't expect t
IBM Compilers (Score:5, Interesting)
Yes. (Score:4, Informative)
It's _very_ fast too.
Re:IBM Compilers (Score:5, Informative)
i doubt this will remain free. better snag it now!
Re:C# in X-code (Score:5, Funny)
I'm similarly disgusted at the omission of BrainFuck [muppetlabs.com]... come on Apple, what are you playing at? We developers demand support for more languages [mines.edu].
Re:C# in X-code (Score:2)
Dave
Silly question: (Score:1)
Re:Silly question: (Score:3, Informative)
Re:Silly question: (Score:3, Informative)
GCC is for compiling software from raw source code. If you're downloading open source software, you generally need a compiler to install it, because the software frequently isn't distributed in an executable form. Even if an executable form is available, most open source projects don't have the resources to provide version for every esoteric configuration people might be using (like, say, OSX -- most of this stuff is written for Linux after all, so OSX is a bit "exotic" from the average Linux developer's po
I would like to see GCC be a standard component (Score:2)
This could be the killer app, actually!
In addition
AAAAIIIIIIGH! (Score:2)
In fact, Oracle does this now, with lots of its products.
What does it mean? Well, every time the compiler is updated, their software install breaks. Every time the libraries change, their software install breaks. Every time you blink, their software install breaks.
Why not recommend that software makers ship their software with a big hammer. That way I can just hit myself over the head repeatedly, thus causing the same anguish, while at least lettin
Re:I would like to see GCC be a standard component (Score:2)
I thought one of the Big Win features of Common Lisp was the ability to dynamically generate & run code on the fly, which is basically what you're talking about.
Likewise, Perl & Python let you do similar things with the eval amd lambda functions -- build up a data structure or code block, store it in a variable then eval{...} it as you go.
Granted, there's no compilation in the C/C
Fink does not like the 3.3 compiler... (Score:5, Informative)
2003-06-26: Developer Tools Update.
Quick Summary: DO NOT INSTALL THIS UPDATE.
Apple has released a patch to the December 2002 Developer Tools which includes gcc 3.3, their new compiler.
Fink does not yet support compiling with gcc 3.3. In addition, it is important not to "mix and match" between compilers: all C++ code in fink packages needs to be compiled with the same compiler.
For this reason, the Fink team recommends that if you update your Developer Tools with the new patch, you should be careful to run sudo gcc_select 3 prior to any "fink build" or "fink install" commands.
would the REAL gcc 3.3 please stand up? (Score:1)
I am grateful that a free compiler is available for my Mac but that was annoying.
So is this REALLY gcc 3.3? Can someone who has installed it please run "gcc-3.3 -v" and post the output?
Thanks!
reed
Re:would the REAL gcc 3.3 please stand up? (Score:2)
Reading specs from
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1435)
bash-2.05a$
Re:would the REAL gcc 3.3 please stand up? (Score:1)
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1435)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Here's the REAL answer. (Score:1, Informative)
% gcc -v
Reading specs from
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1435)
The NEW August2003gccUpdater.pkg update:
% gcc -v
Reading specs from
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1493)
Re:Here's the REAL answer. (Score:1)
Thanks to the AC for the "REAL answer". My guess then is that it adds some special Apple features, but still has all the same C++ bugs [gnu.org] as 3.2 (and Dec02 "3.3") since it's not based on any real 3.3 releases [gnu.org] (first one was in May; this one still has the February date).
reed
I want xcode! (Score:2)
I just bought my first Mac off of ebay (G4/450/256M/10G/DVD/ZIP/keyboard/stupid puck mouse/17" monitor). I've been programming under Linux and Windows forever, and plan to start programming for OSX now too. I am really looking forward to OSX 10.3 and the final Xcode. Any veteran Mac programmers want to help me learn this stuff
developer.apple.com (Score:1)
Re:developer.apple.com (Score:2)
Re:I want xcode! (Score:4, Informative)
CocoaDev.com [cocoadevcentral.com]
Both have entry-level ProjectBuilder tutorials, including the famous one-line web browser (CocoaDev) and text editor (O'Reilly) tutorials.
You want a Processor Upgrade! (Score:2, Informative)
Rather than complain about the puck, dual-button+scrollwheel optical USB mice are super-cheap, g
Re:You want a Processor Upgrade! (Score:2)
If I wanted a G5, I would have just bought it. I want a slow G4 so that I know if my program runs reasonably well on this, it should be even faster on better Macs. I may buy a 4th Intellimouse, I love those things, and its USB so whatever, it should work, but right now I'm just VNCing to it from my win2000 box anyway.
What I really need to find is some easy way to manage a program that compiles and runs well on OSX and Windows. Sure I could use GTK, but I know GTK apps look like ass on windows, so I probabl
Re:You want a Processor Upgrade! (Score:2)
One hopes it will since C++ Builder is, in certain ways, easier than learning Obj-C and trying to use Interface Buil
Re:You want a Processor Upgrade! (Score:2)
I suggest using wxWindows.
I started out with wxWindows to write version 2 of PhotoFlair (www.truview.com). I am now developing on my personal time a port for Cocoa known simply as wxCocoa. It is Mac OS X only.
In the meantime, there is a Mac Classic and Carbon port known as wxMac. Current CVS is dropping straight Classic support in favor of Carbon only. It will require Mac OS 9.1 or better.
Developing on a Mac is a great experience, though a nice fast Dual G4 or G5 is really a better system for that.
Meaning of new options? (Score:3, Interesting)
-frelax-aliasing
-fgcse-mem-alias
-floop-transpose
-floop-to-memset
-fload-after-store
-fgcse-loop-depth
-fdisable-typechecking-for-spec
That last one sounds like a good one ;-), but I'm wondering if it can screw up my programs that might rely on stricter semantics, so I'd like to know what it does.
Re:Meaning of new options? (Score:2)
-fwork-dammit
Re:Meaning of new options? (Score:1)
First, you need to find the versions of the compiler that Apple shipped. Second, there are two different versions depending on whether the -fast option is given or not: 1493 and 1610.
Then if you download the current sources (see file:///Developer/Documentation/DeveloperTo
Re:Meaning of new options? (Score:1)