This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

build/1646: gdb doesn't honor CPPFLAGS, LDFLAGS


>Number:         1646
>Category:       build
>Synopsis:       gdb doesn't honor CPPFLAGS, LDFLAGS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 14 12:48:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     mec.gnu@mindspring.com
>Release:        gdb HEAD 2004-05-08 04:06:54 UTC (approximate time)
>Organization:
>Environment:
native alphaev68-dec-osf5.1
building with vendor make
building with gcc 3.3.2
>Description:
[This is about the 8th time I've filed this PR, so if you see dupes, sorry about that.]

I'm setting CPPFLAGS and LDFLAGS in order to use ncurses 5.4:

  CPPFLAGS=-I$MIGCHAIN_DIR_INSTALL/host/ncurses-5.4/include
  export CPPFLAGS
  LDFLAGS=-I$MIGCHAIN_DIR_INSTALL/host/ncurses-5.4/lib
  export LDFLAGS

CPPFLAGS is honored in some directories but not all.

  honors $CPPFLAGS
    intl bfd opcodes readline
  no $CPPFLAGS
    libiberty mmalloc gdb

LDFLAGS is not honored when linking gdb.

>How-To-Repeat:
Set CPPFLAGS and LDFLAGS.
Build gdb.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]