[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #37970] Misleading documentation of LDFLAGS variable

From: anonymous
Subject: [bug #37970] Misleading documentation of LDFLAGS variable
Date: Fri, 21 Dec 2012 13:14:10 +0000
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.14 Safari/537.17


                 Summary: Misleading documentation of LDFLAGS variable
                 Project: make
            Submitted by: None
            Submitted on: Fri 21 Dec 2012 01:14:08 PM UTC
                Severity: 3 - Normal
              Item Group: Documentation
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 3.82
        Operating System: None
           Fixed Release: None
           Triage Status: None



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


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]