bug-ncurses
[Top][All Lists]
Advanced

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

installation: LDFLAGS is given to both gcc and ld


From: Paul Jarc
Subject: installation: LDFLAGS is given to both gcc and ld
Date: Mon, 16 Jun 2003 12:45:57 -0400
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

On Solaris, ncurses creates its shared libraries using ld directly
instead of via gcc.  So LDFLAGS is passed directly to ld in those
cases, but to gcc in other cases.  This means that only flags that are
comprehensible to both gcc and ld can be used in LDFLAGS.  It would be
helpful if gcc was used to produce shared libraries; then LDFLAGS
would have a consistent interface, and could be used to pass any
linker flag.  (Options not understood by gcc could be protected by
"-Wl,".)


paul




reply via email to

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