Dave Korn wrote:
On 07/04/2010 00:24, Robrecht Dewaele wrote:
$ LDFLAGS=-lpopt make options
Only put flags in LDFLAGS. Put libs in LDLIBS. The default rule is
%: %.c
# commands to execute (built-in):
$(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@
and LINK.c embeds
On 2010-04-06 23:24Z, Robrecht Dewaele wrote:
>
> # Using builtin make rules and LDFLAGS seems to yield an incorrect
> order of arguments for cc.
> $ LDFLAGS=-lpopt make options
http://www.gnu.org/software/make/manual/html_node/Catalogue-of-Rules.html#Catalogue-of-Rules
| The precise command
On 07/04/2010 00:24, Robrecht Dewaele wrote:
> $ LDFLAGS=-lpopt make options
Only put flags in LDFLAGS. Put libs in LDLIBS. The default rule is
> %: %.c
> # commands to execute (built-in):
> $(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@
and LINK.c embeds LDFLAGS. On ELF platforms where
Hello everyone,
I'm not sure whether this is a make or a cygwin issue, but it has
occured to me only on cygwin, so I thought to ask here first.
To illustrate my problem, I have written a little testcase (options.c)
which uses libpopt and illustrate how to reproduce the behaviour at the
bottom
4 matches
Mail list logo