Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which compiler is used to produce Microsoft Office for Mac?

We knew Microsoft Office has Mac edition.

Just curious, who knows which compiler is used to produce Microsoft Office for Mac?

When I looked at the Windows SDK header "Windows.h", I find following code snippet:

#ifndef _MAC
#if defined(_68K_) || defined(_MPPC_)
#define _MAC
#endif
#endif

Does Microsoft have a private C++ compiler for Mac? If so, I guess the compiler must support COM (Component Object Model), whereas gcc does not. ('Support' means can product COM-compliant C++ object)

like image 369
Raymond Avatar asked Nov 13 '22 03:11

Raymond


1 Answers

Microsoft does not have a private compiler for OS X. xcode uses gcc, llvm, or both.

This means, depending on the version of Xcode used, Microsoft Office for Mac builds with either gcc or clang. Note that this does not necessarily imply that Microsoft uses the Xcode IDE.

like image 182
Peter Schultz Avatar answered May 17 '23 14:05

Peter Schultz