This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
other/3806: --program-suffix does not work correctly
- To: gcc-gnats at gcc dot gnu dot org
- Subject: other/3806: --program-suffix does not work correctly
- From: terran at consistent dot org
- Date: 25 Jul 2001 02:19:13 -0000
- Reply-To: terran at consistent dot org
>Number: 3806
>Category: other
>Synopsis: --program-suffix does not work correctly
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 24 19:26:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: terran@consistent.org
>Release: gcc version 3.1 20010724 (experimental)
>Organization:
>Environment:
i686-pc-linux-gnu
autoconf version 2.13
>Description:
The --program-suffix (and --program-prefix) configure options
do not work.
Two things are not done correctly.
1. program_transform_name is not set correctly in gcc/Makefile;
it is instead always "s,x,x,". In ./Makefile it
is set correctly using the specified suffix.
2. The EXECUTABLE_SUFFIX options in config.h are not set.
When I set program_transform_name in gcc/Makefile using the
one in Makefile is a guide and added TARGET_EXECUTABLE_SUFFIX="whatever"
and HOST_EXECUTABLE_SUFFIX="" in config.h after it was
built, the desired results were obtained.
I checked the 3.0 release as well and had the same problem.
>How-To-Repeat:
configure with --program-suffix=foo
make bootstrap
make install
note that the programs do not have the desired suffix
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: