[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 |
URL:
<http://savannah.gnu.org/bugs/?37970>
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
_______________________________________________________
Details:
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.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37970>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #37970] Misleading documentation of LDFLAGS variable,
anonymous <=