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

 
 

bug #37970: Misleading documentation of LDFLAGS variable

Submitted by:  None
Submitted on:  Fri 21 Dec 2012 01:14:08 PM UTC  
 
Severity: 3 - NormalItem Group: Documentation
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 3.82Operating System: Any
Fixed Release: 4.0Triage Status: Verified

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

Fixed. Thank you.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 06 Apr 2013 02:52:23 PM UTCpsmithStatusNone=>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.1-cleanup