Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347498 - Restore defaults for GCC toolchain resets linker options to shared library settings
Summary: Restore defaults for GCC toolchain resets linker options to shared library se...
Status: CLOSED DUPLICATE of bug 366519
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build-managed (show other bugs)
Version: 8.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Chris Recoskie CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-27 14:22 EDT by Eugene Ostroukhov CLA
Modified: 2011-12-16 17:06 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Ostroukhov CLA 2011-05-27 14:22:51 EDT
Build Identifier: CVS

Managed build tries to produce shared library when I restore toolchain options to default values.

Reproducible: Always

Steps to Reproduce:
1. Create "Hello, world" C++ project.
2. Build the project. Verify that executable is built as expected.
3. Open project properties, "C/C++ Build"/Settings.
4. Click the "Restore Defaults" in the bottom of the page. Click "Ok"
5. In the tree find "GCC C++ Linker"/"Shared Library Settings" node. Verify the "Shared (-shared)" option is checked.

Full rebuild will now attempt building shared library instead of executable.
Comment 1 Eugene Ostroukhov CLA 2011-12-16 17:06:03 EST

*** This bug has been marked as a duplicate of bug 366519 ***