Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362772

Summary: CDT is not able to display visual studio 9 linker setting in C/C++ Build->Settings->Tool Settings
Product: [Tools] CDT Reporter: Manas <bhatt_manas>
Component: cdt-buildAssignee: cdt-build-inbox <cdt-build-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: major    
Priority: P3 CC: cdtdoug
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
settings->tool settings
none
Tool chain editor
none
cpp project settings file none

Description Manas CLA 2011-11-03 06:11:05 EDT
Build Identifier:  20110916-0149

I have two visual studio installion (vc9 and vc10).
In eclipse when i use cdt to build c++ projects, don't get any linker options to set.

The Tool Chain Editor settings are follow:
Current toolchain : Microsoft Visual C++
Current builder   : CDT Internal Builder
Used Tools
C Compiler (cl)
C++ Compiler (cl)
Resource Compiler (rc)
Linker (link)
Library Manager (lib)

But "Settings" option, I don't see any settings for Linker (link) but do see options for 
C Compiler (cl)
C++ Compiler (cl)
Resource Compiler (rc)
Library Manager (lib)



Reproducible: Always

Steps to Reproduce:
0. Install two version of visual studio and install CDT in eclipse
1. Create a new C++ project in eclipse
2. Go to Properties->C/C++ Build->Tool Chain Editor and set the Current tool chain:Microsoft Visual C++
Current Builder : CDT Internal Builder
3. Go to Properties->C/C++ Build->Settings and see if there is any linker setting in Tool Settings
Comment 1 Manas CLA 2011-11-03 06:14:06 EDT
Created attachment 206389 [details]
settings->tool settings
Comment 2 Manas CLA 2011-11-03 06:14:48 EDT
Created attachment 206391 [details]
Tool chain editor
Comment 3 Manas CLA 2011-11-03 23:14:51 EDT
Created attachment 206441 [details]
cpp project settings file
Comment 4 Manas CLA 2011-11-03 23:16:19 EDT
The .cproject does indeed show linker but the "Tool Settings" UI is not displaying it. 
<tool id="org.eclipse.cdt.msvc.link.2103065356" name="Linker (link)" superClass="org.eclipse.cdt.msvc.link">
<option id="org.eclipse.cdt.msvc.link.option.debug.1555605322" name="Generate Debug Info (/debug)" superClass="org.eclipse.cdt.msvc.link.option.debug" value="true" valueType="boolean"/>
</tool>