[Top][All Lists]

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

Re: -Xlinker and LDFLAGS

From: Eli Zaretskii
Subject: Re: -Xlinker and LDFLAGS
Date: Wed, 10 Jan 2001 15:43:55 +0200 (IST)

On Wed, 10 Jan 2001, Greg Hudson wrote:

> The GNU Makefile standards are designed such that a user should be
> able to "make LDFLAGS=blah".  The normal treatment of LDFLAGS in this
> context is to be passed to the compiler during the linking of
> programs.
> emacs treats LDFLAGS a little differently.  src/Makefile.in dumps
> $(LDFLAGS) into $(ALL_LDFLAGS), and then (at least on platforms where
> LINKER is not specified) prefixes each word of the flags with
> -Xlinker, such that the flags are passed directly to the linker.  This
> means that emacs has to be treated differently from other packages;
> for instance, you can't use an LDFLAGS value such as
> -Wl,-R/thing/to/add/to/run/path.

Does it work to say "LDFLAGS=whatever ./configure", and then "make"?

reply via email to

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