Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Targeting WinRT via LLVM or GCC

Both LLVM and GCC support Objective-C, and I like the language. Hence, I'd be interested in targeting WinRT native code using LLVM or GCC, probably using MinGW.

While the question I'm interested in should be easily googlable, I couldn't find any salient information: does either LLVM or GCC support targeting WinRT?


Intel has an article on using Intel C++ Compiler 13.0 with Visual Studio 2012 which may contain useful hints.

Also, a near duplicate question.

like image 494
Ivan Vučica Avatar asked Nov 09 '12 19:11

Ivan Vučica


1 Answers

Clang now has full support for native C and C++ on Windows, with the native ABI, etc. If there is a C or C++ API for WinRT, you should easily be able to call that with code compiled using Clang on Windows.

That doesn't directly connect ObjC to WinRT, but you could potentially write code to build such a connection if you wished.

like image 50
Chandler Carruth Avatar answered Nov 01 '22 21:11

Chandler Carruth