Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Project Builder and New GCC 3.3 Settings Question

Project Builder and New GCC 3.3 Settings Question
Thread Tools
jessejlt
Mac Enthusiast
Join Date: Feb 2003
Location: Portland, Oregon
Status: Offline
Reply With Quote
Jul 11, 2003, 05:23 AM
 
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 ;-)
     
Wevah
Senior User
Join Date: Nov 2001
Location: State of Denial
Status: Offline
Reply With Quote
Jul 11, 2003, 07:12 PM
 
I'd like to know this as well...
[Wevah setPostCount:[Wevah postCount] + 1];
     
jessejlt  (op)
Mac Enthusiast
Join Date: Feb 2003
Location: Portland, Oregon
Status: Offline
Reply With Quote
Jul 12, 2003, 12:30 PM
 
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 ;-)
     
Wevah
Senior User
Join Date: Nov 2001
Location: State of Denial
Status: Offline
Reply With Quote
Jul 13, 2003, 02:26 AM
 
How unfortunate! :O
[Wevah setPostCount:[Wevah postCount] + 1];
     
antofic
Fresh-Faced Recruit
Join Date: Sep 2000
Location: Monopoli, Bary, ITALY
Status: Offline
Reply With Quote
Jul 24, 2003, 11:57 AM
 
Anyone know how make precompiled headers work with gcc 3.3 and ProjectBuilder?
     
MaxPower2k3
Mac Elite
Join Date: Jan 2003
Location: NYC
Status: Offline
Reply With Quote
Jul 24, 2003, 04:56 PM
 
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...
     
antofic
Fresh-Faced Recruit
Join Date: Sep 2000
Location: Monopoli, Bary, ITALY
Status: Offline
Reply With Quote
Jul 25, 2003, 03:25 AM
 
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...
     
trusted_content
Dedicated MacNNer
Join Date: Nov 2002
Status: Offline
Reply With Quote
Jul 26, 2003, 10:20 PM
 
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 ;]
     
antofic
Fresh-Faced Recruit
Join Date: Sep 2000
Location: Monopoli, Bary, ITALY
Status: Offline
Reply With Quote
Jul 28, 2003, 05:14 AM
 
I hve found a hack to make gcc 3.3 work with PB and precompiled headers at:

http://www.cocoadev.com/index.pl?Usi...ProjectBuilder

Work very good!
     
   
Thread Tools
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 02:58 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,