Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / November 2005



Tip: Looking for answers? Try searching our database.

Xcode 1.5 and 2.1

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
robi - 13 Nov 2005 21:37 GMT
When i compile my project on one machine that has os 10.3.9 and XCode
1.5 the carbon application works on OS 10.2,10.3 and 10.4, but when i
compile same code on 10.4.3 and with XCode 2.1 application works on 10.3
and 10.4 only, i double checked my project options and made sure they
are same on parts that can be same.
Is there something im missing?
Since my faster mac has 10.4 would be nice to compile on it.
Sherm Pendley - 13 Nov 2005 22:35 GMT
> When i compile my project on one machine that has os 10.3.9 and XCode
> 1.5 the carbon application works on OS 10.2,10.3 and 10.4, but when i
> compile same code on 10.4.3 and with XCode 2.1 application works on
> 10.3 and 10.4 only, i double checked my project options and made sure
> they are same on parts that can be same.
> Is there something im missing?

If you're using GCC 4, the result requires 10.3.9 or newer. To support older
OS versions, you need to use GCC 3.3.

To see what GCC is the default, in a terminal:

  gcc_select

To see what GCC versions are available:

  gcc_select -list

You can make 3.3 the default with:

  sudo gcc_select 3.3

To override the default for a specific target, get info on the target and
choose a different compiler for "C source files" in the "rules" pane.

sherm--

Signature

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

Patrick Machielse - 13 Nov 2005 23:26 GMT
> If you're using GCC 4, the result requires 10.3.9 or newer. To support older
> OS versions, you need to use GCC 3.3.

Wasn't that related to just C++ code?

patrick
Gregory Weston - 14 Nov 2005 13:09 GMT
> > If you're using GCC 4, the result requires 10.3.9 or newer. To support older
> > OS versions, you need to use GCC 3.3.
>
> Wasn't that related to just C++ code?

When using GCC 4...
The requirement for (Obj-)C++ apps is 10.3.9 and up.
The requirement for (Obj-)C apps is 10.3.0 and up.

Signature

Goal 2005: Convincing James Hetfield to cover the Strawberry Shortcake
"Are You Berry Berry Happy?" song.

Patrick Machielse - 14 Nov 2005 14:52 GMT
> > > If you're using GCC 4, the result requires 10.3.9 or newer. To support
> > > older OS versions, you need to use GCC 3.3.
[quoted text clipped - 4 lines]
> The requirement for (Obj-)C++ apps is 10.3.9 and up.
> The requirement for (Obj-)C apps is 10.3.0 and up.

Thanks, I seem to have missed that last one...

patrick
robi - 14 Nov 2005 17:32 GMT
> To override the default for a specific target, get info on the target and
> choose a different compiler for "C source files" in the "rules" pane.

Yup, that did the trick, thanks.
tapjpa - 13 Nov 2005 22:38 GMT
2.2 Just got released may want to give that a try. Here is the link.
http://tinyurl.com/8m49e

But I kind of remember something about 2.x versions only bein
compatable back to 10.3, but might be worth giving 2.2 a try, fyi it i
a 834MB download

--
tapjp

PowerBook G4, 1.5Ghz, 80Gig HD,1.256Gig RAM, SuperDrive, 60Gig iPo
Video
macosx.com - The Answer to Mac Support - http://www.macosx.co
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.