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 180926 - ranlib executable definition should be compiler specific
Summary: ranlib executable definition should be compiler specific
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Toolchain (show other bugs)
Version: 6.x
Hardware: All All
: P4 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-18 11:37 UTC by tvb377
Modified: 2013-08-31 04:29 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 tvb377 2010-02-18 11:37:27 UTC
Especially for cross compiling the specification of the ranlib executable should be possible per compiler toolset.
See also Bug # 180922 (prohibits giving the compiler specific ar the flag to perform ranlib).
Comment 1 Thomas Preisler 2010-04-20 23:58:20 UTC
Fixed first part: name of ranlib tool is now configurable from the project properties. Now you can go the the project properties under Archiver and change the Indexer tool from 'ranlib' to whatever for a particular configuration.

This provides you with a way to add your own indexer for a particular compiler set. Note: for this to work, you need to remove the line "RANLIB=ranlib" from master makefile in t=your project root if you are using an already generated project.

Next step is to define ranlib in the toolchain and have the toolchain automatically fill this field out. See also 169151.
Comment 2 Thomas Preisler 2010-04-21 00:04:17 UTC
Change component to toolchain and also dropping to p4.
Comment 3 Quality Engineering 2010-04-22 04:25:46 UTC
Integrated into 'main-golden', will be available in build *201004220200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/c231bb393e7d
User: Thomas Preisler <thp@netbeans.org>
Log: #180926 - ranlib executable definition should be compiler specific
Comment 4 pitchonel 2013-08-31 04:29:44 UTC
Is this request still open, because I would need it for Visual C++ compiler (VCC4N) so I can archive static libraries using another compiler.
Of course I can, replace ar and uncheck "run ranlib", but it would be easier if this was automatically created with the toolchain, so people don't have to do it manually and for every project, which is annoying.

This idea is to add it to the toolchain, so you can specify an archiver, indexer (optional) and arguments (including the platform).

Should we keep this one or create a new request?