This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: to install c and c++ compiler on OS X Yosemite 10.10 3
- From: Scott Davies <code-poet at hotmail dot com>
- To: hilary <hilary dot law at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 21 May 2015 15:52:10 -0400
- Subject: Re: to install c and c++ compiler on OS X Yosemite 10.10 3
- Authentication-results: sourceware.org; auth=none
- References: <1432213268215-1151452 dot post at n5 dot nabble dot com>
On May 21, 2015, at 9:01 AM, hilary <hilary.law@gmail.com> wrote:
> Hey I have installed X code.
> Can someone kindly tell me how to install a C and C++ compiler to run into
> the terminal?
> <http://gcc.1065356.n5.nabble.com/file/n1151452/Screenshot_2015-05-21_22.png>
>
>
>
> --
> View this message in context: http://gcc.1065356.n5.nabble.com/to-install-c-and-c-compiler-on-OS-X-Yosemite-10-10-3-tp1151452.html
> Sent from the gcc - Help mailing list archive at Nabble.com.
>
If you looking for a C/C++ compiler, you can install Xcode from the App Store. This will provide a C11 and C++14 compile toolchain. You can then invoke the compiler from the command line using “clang”.
Hope this helps