• 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
Re: [FAQ] Xcode 2.2 Project Doesn't Compile C++ as C++ [was: How does Xcode decide whether to use g++ for linking or gcc]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [FAQ] Xcode 2.2 Project Doesn't Compile C++ as C++ [was: How does Xcode decide whether to use g++ for linking or gcc]


  • Subject: Re: [FAQ] Xcode 2.2 Project Doesn't Compile C++ as C++ [was: How does Xcode decide whether to use g++ for linking or gcc]
  • From: Chris Espinosa <email@hidden>
  • Date: Mon, 16 Jan 2006 11:58:22 -0800


On Jan 16, 2006, at 1:17 AM, Holger Hoerich wrote:

The problem I described actually occurs in a totally new project (C++ Tool). I link a C frontend with a static library which uses C++. How do I invoke g++ as linker then? Do I have to override LD?

Btw: When overriding LD I had to strip off a part of the library search path too. There were a few entries to '/usr/include/gcc/darwin/*'. Removing them made the project compile.

OK, it would help to see your complete build transcript. If you create a new C++ Tool project, you should get the complete C++ tool chain by default. Did you perhaps install Xcode 2.2 over a much older version of Xcode or Project Builder? It's possible that Xcode picked up a project template from an older version.


Chris

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How does Xcode decide whether to use g++ for linking or gcc (From: Holger Hoerich <email@hidden>)
 >[FAQ] Xcode 2.2 Project Doesn't Compile C++ as C++ [was: How does Xcode decide whether to use g++ for linking or gcc] (From: Chris Espinosa <email@hidden>)
 >Re: [FAQ] Xcode 2.2 Project Doesn't Compile C++ as C++ [was: How does Xcode decide whether to use g++ for linking or gcc] (From: Holger Hoerich <email@hidden>)

  • Prev by Date: Getting Xcode to Copy a folder?
  • Next by Date: Re: include_next?
  • Previous by thread: Re: [FAQ] Xcode 2.2 Project Doesn't Compile C++ as C++ [was: How does Xcode decide whether to use g++ for linking or gcc]
  • Next by thread: Not including my resource in Jar file
  • Index(es):
    • Date
    • Thread