This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 79122 - Dynamic Library: gcc is default tool for linker but g++ is used.
Summary: Dynamic Library: gcc is default tool for linker but g++ is used.
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Thomas Preisler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-26 18:15 UTC by dnikitin
Modified: 2007-05-25 18:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dnikitin 2006-06-26 18:15:36 UTC
Dynamic Library: gcc is default tool for linker but g++ is used.

1. Create new C/C++ Development|C/C++ Dynamic Library project
2. Open properties dialog (Linker|General --> Tool) to make sure that Tool for
Linker is gcc
3. Build project and see output. --> g++ is used for linking (no *.cc files in
project, only *.c files)
Comment 1 Thomas Preisler 2006-06-26 23:17:35 UTC
It's a bug if you can change the tool (the compiler) on a per file basis. The
tool should only be changeable from the project. Will fix.
Comment 2 Thomas Preisler 2006-06-27 04:15:33 UTC
I misread the bug description. It should use g++ if there are any C++ files in
the project, otherwise it should use gcc. Fixed.