bugmake - Bugs: bug #37970, Misleading documentation of...

 
 

bug #37970: Misleading documentation of LDFLAGS variable

Submitter:  None
Submitted:  Fri 21 Dec 2012 01:14:08 PM UTC
   
 
Severity:  3 - Normal Item Group:  Documentation
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  3.82 Operating System:  Any
Fixed Release:  4.0 Triage Status:  Verified
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 06 Apr 2013 02:52:23 PM UTC, comment #1: 

Fixed.  Thank you.

Paul D. Smith <psmith>
Group administrator
Fri 21 Dec 2012 01:14:08 PM UTC, original submission:  

In the GNU make manual, section 10.3 (Variables Used by Implicit Rules) LDFLAGS is described as "Extra flags to give to compilers when they are supposed to invoke the linker, ‘ld’."

This made me think that I should use LDFLAGS to specify libraries, instead of LDLIBS. Unfortunately, this seems to work with some GNU toolchains, and fail with others (maybe due to a recent binutils change?).

It may be worth mentioning there that LDLIBS should be used to specific static libraries.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-04-06 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Operating SystemNone Any
        Fixed ReleaseNone 4.0
        Triage StatusNone Verified

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code