Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse Luna LLVM support forces stdc++(Unable to remove stdc++ from Eclipse LLVM options)
Eclipse Luna LLVM support forces stdc++ [message #1405053] Wed, 06 August 2014 13:04
Kamil Saigol is currently offline Kamil SaigolFriend
Messages: 7
Registered: July 2014
Junior Member
Hi,

Under Arch x86_64 with Eclipse Luna and CDT newly-installed, selecting the "LLVM with Clang" toolchain option works without issue when using libstdc++. However, it seems to be impossible to remove the "stdc++" option from Window -> Preferences -> LLVM. It comes back whenever removed and is always present when a project is compiled.

This means that "-lstdc++" is always added to the Linker command even when trying to use libcxx.

I have tried removing the library from the project properties as well -- same problem occurs.

This problem occurs under Ubuntu as well. For example, see here or here.

Under Ubuntu I noticed that the library directory was also forced. This does not happen in Arch.

Is there any way to stop this from happening?

Note: One workaround may be to select the "Linux GCC" option, change the calls to g++ to clang++, and manually add include dirs, libs, and flags. However, this defeats the purpose of LLVM support tools and needs to be redone for every project that uses libcxx.

Thanks
Previous Topic:cannot run/debug remotely linux to linux with chroot
Next Topic:Cygwin + Luna/CDT path issues w/ run&debug
Goto Forum:
  


Current Time: Mon Oct 14 21:48:57 GMT 2024

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

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

Back to the top