 |
 |
Project Builder and New GCC 3.3 Settings Question
|
 |
|
 |
Mac Enthusiast
Join Date: Feb 2003
Location: Portland, Oregon
Status:
Offline
|
|
In the following Apple tech doc.
http://developer.apple.com/technotes/tn/tn2086.html
It states that the December developer tools are not aware of GCC 3.3, even after installing the GCC 3.3 patch. It states that the following three flags must be set in the Target:
CC = /usr/bin/gcc-3.3
CPLUSPLUS = /usr/bin/g++-3.3
GCC_VERSION = 3.3
GCC 3.3 generates much more accurate C++ code than 3.1 did, so I would like to make GCC 3.3 the default, but I'm unaware of how to do so w/o having to manually edit the Target of each application.
Do any of you know how to make these settings stick?
Thanks;
jesse ;-)
|
|
|
|
|
|
 |
|
 |
Senior User
Join Date: Nov 2001
Location: State of Denial
Status:
Offline
|
|
I'd like to know this as well...
|
[Wevah setPostCount:[Wevah postCount] + 1];
|
|
|
|
|
 |
|
 |
Mac Enthusiast
Join Date: Feb 2003
Location: Portland, Oregon
Status:
Offline
|
|
Well, unfortunately I found that you MUST add these changes to each target manually in order to use GCC 3.3, and I suggest you do so, because GCC 3.1 generates terrible C++ code.
jesse ;-)
|
|
|
|
|
|
 |
|
 |
Senior User
Join Date: Nov 2001
Location: State of Denial
Status:
Offline
|
|
|
[Wevah setPostCount:[Wevah postCount] + 1];
|
|
|
|
|
 |
|
 |
Fresh-Faced Recruit
Join Date: Sep 2000
Location: Monopoli, Bary, ITALY
Status:
Offline
|
|
Anyone know how make precompiled headers work with gcc 3.3 and ProjectBuilder?
|
|
|
|
|
|
 |
|
 |
Mac Elite
Join Date: Jan 2003
Location: NYC
Status:
Offline
|
|
yeah, i couldn't get gcc 3.3 to work with Obj-C -- just got Build Failed immediately. so i went back to 3.1 and all is well...
|
|
|
|
|
|
 |
|
 |
Fresh-Faced Recruit
Join Date: Sep 2000
Location: Monopoli, Bary, ITALY
Status:
Offline
|
|
I went back to gcc 3.1, but precompiled headers don't work anymore.
I receive some error messages like this from PB:
......
/Volumes/Dati/Programmazione OSX/SapTranslation/SapTranslation/SapTranslation_Prefix.h:5: warning: Precomp '/System/Library/Frameworks/Carbon.framework/Headers/Carbon.p' version number is 15 instead of 25, ignoring precomp
What is: .... version number is 15 instead of 25, ignoring precomp.... ?
How can I restore the precompiled headers functionality? Without it the compilation process is painfully slow...
|
|
|
|
|
|
 |
|
 |
Dedicated MacNNer
Join Date: Nov 2002
Status:
Offline
|
|
Originally posted by antofic:
How can I restore the precompiled headers functionality? Without it the compilation process is painfully slow...
sudo fixPrecomps
|
I offer strictly b2b web-based server-side enterprise solutions for growing e-business trusted content providers ;]
|
|
|
|
|
 |
|
 |
Fresh-Faced Recruit
Join Date: Sep 2000
Location: Monopoli, Bary, ITALY
Status:
Offline
|
|
|
|
|
|
|
|
 |
 |
|
 |
|
|
|

|
|
 |
Forum Rules
|
 |
 |
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |