Re: Using different compilers for C vs C++?
Re: Using different compilers for C vs C++?
- Subject: Re: Using different compilers for C vs C++?
- From: Alexander von Below <email@hidden>
- Date: Fri, 12 Feb 2010 21:34:11 +0100
You can change this on various levels, as usual with Xcode:
- Globally
- Projectwide
- per Target
or
- per File
Let's say, you want to change it per Target. Open your Target inspector (command-option-e) and select the "Rules" Tab. There, you can change the compiler for each kind of file.
Alex
Am 12.02.2010 um 20:47 schrieb Sean McBride:
> Hi all,
>
> Is it possible to instruct Xcode to use different compilers for C and C++?
>
> It seems able to do this internally when one chooses clang as the
> compiler. Clang can't compile C++ so it falls back to llvm-gcc.
>
> I'd like to do something similar, ex: use GCC 4.0 for C, and GCC 4.2 for
> C++. But I don't see any way to set this up.
>
> Thanks,
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng email@hidden
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
>
>
> _______________________________________________
> 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
_______________________________________________
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