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/887: program-transform-name


>Number:         887
>Category:       build
>Synopsis:       program-transform-name
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 12 12:18:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Felix Lee
>Release:        unknown-1.0
>Organization:
>Environment:

>Description:
if you configure with both --program-prefix and --program-transform-name, it doesn't work right.

in gdb/Makefile, you get something like
  program_transform_name = s,^,prefix-,; s/foo/bar/
and it gets used like this:
  `t='$(program_transform_name)'; echo gdb | sed -e $$t`
there should be double quotes around $$t

note, some Makefiles (like the top-level Makefile) will have this instead:
  program_transform_name = -e s,^,prefix-, -e s/foo/bar/
which is a form that shouldn't get double quoted.  this is a little confusing.
>How-To-Repeat:

>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]