r/learncpp • u/enokeenu • Oct 21 '21
Learning pure c++ on a mac
Hello:
In mac os is it possible to install a compiler / run time system that does not get intertwined with xcode?
9
Upvotes
r/learncpp • u/enokeenu • Oct 21 '21
Hello:
In mac os is it possible to install a compiler / run time system that does not get intertwined with xcode?
View all comments
Show parent comment
3
u/webguy1979 Oct 22 '21
I'm not sure I follow what you mean. There is no "Apple dialect of C++". There are two popular compilers... gcc/g++ and clang/clang++. On an apple system the underlying compiler is clang, gcc/g++ just remap to it. But this idea of a specific dialect makes little sense here. You write C++ then your compiler targets a specific processor.
Now if by dialect you are misunderstanding C, C++, and Objective-C... C++ and Objective-C (Apple's older development language, slowly being replaced by Swift), they are two different languages.