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]
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