This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
build/887: program-transform-name
- From: flee at aracnet dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 12 Dec 2002 20:14:25 -0000
- Subject: build/887: program-transform-name
- Reply-to: flee at aracnet dot com
>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: