• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
gcc 2.95/3.1 switch for C++ tools not working?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gcc 2.95/3.1 switch for C++ tools not working?


  • Subject: gcc 2.95/3.1 switch for C++ tools not working?
  • From: Allan Odgaard <email@hidden>
  • Date: Thu, 29 Aug 2002 10:26:09 +0200

Hi there,

It seems PB uses

/usr/bin/cc for Cocoa App w/ gcc 2.95
/usr/bin/gcc3 for Cocoa App w/ gcc 3.1

/usr/bin/c++ for C++ tool w/ gcc 2.95
/usr/bin/c++ for C++ tool w/ gcc 3.1

cc and c++ links to:

cc c++
gcc_select 2: gcc2 g++2
gcc_select 3: gcc3 g++3


Conclusion:

One has to execute (default?) "gcc_select 2" for the GUI switch in PB to work.
As a side effect
1) all Makefiles which use cc/g++ will compile with gcc2.
2) C++ tools (from PB) will always link with gcc2.

Executing "gcc_select 3" will cause everything to be linked with gcc3 (even when selecting gcc 2 in the GUI of PB).

Is my config seriously screwed? or is this just the harsh reality? ;-)
_______________________________________________
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.

  • Prev by Date: Re: Strange problem
  • Next by Date: gcc 3.1 produce slower code?
  • Previous by thread: Re: NSURL access?
  • Next by thread: gcc 3.1 produce slower code?
  • Index(es):
    • Date
    • Thread