Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Cannot convert an existing GCC project to LLVM with Clang(Existing executable projects cannot be built using LLVM/Clang. Only static libraries can.)
Cannot convert an existing GCC project to LLVM with Clang [message #1761007] Fri, 05 May 2017 08:57
Marian Kechlibar is currently offline Marian KechlibarFriend
Messages: 6
Registered: May 2017
Junior Member
My configuration:
Eclipse CDT Neon.3 + official LLVM plugin
Ubuntu Linux 17.04 32-bit

I have a workspace with existing projects. Most of them are static libraries. When I switch the toolchain for those static libraries from GCC (Linux) to LLVM with Clang (Linux), the libraries are built without further problems.

On the projects whose Build artifacts are Executables, the LLVM toolchains are not even shown as compatible. If I switch to LLVM toolchain with Clang anyway, the Build artifact is empty and I cannot build the executables. The only way in which I am able to build the executables is to return to GCC (Linux).

Is this functionality not yet complete? Or am I missing something?

I found a very similar question from 2015 on stackoverflow, but with no answers.
Previous Topic:Losing C++11 settings in Neon.2
Next Topic:Failed to execute MI command:~/build_px4fmu-v2_lpe/src/firmware/nuttx/firmware_nuttx
Goto Forum:
  


Current Time: Sat Apr 27 02:06:08 GMT 2024

Powered by FUDForum. Page generated in 0.02666 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top