This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Use --program-transform-name to set cross program name
- From: Michael Eager <eager at mvista dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 12 May 2003 15:43:37 -0700
- Subject: Use --program-transform-name to set cross program name
- Organization: MontaVista Software, Inc.
Currently, --program-transform-name only modifies the name of native compilers.
The name of the cross compilers is set using program_transform_cross_name,
but there is no way to change this in configure. This patch makes
program_transform_cross_name mirror program_transform_name.
(I do not understand the purpose of having both program_transform_name and
program_transform_cross_name -- one would seem sufficient, since they are
independent.)
2003-05-12 Michael Eager <eager@mvista.com>
* Makefile.in: Initialize program_transform_cross_name from
@program_transform_name@ instead of target_alias.
Index: gcc/Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.1049
diff -u -r1.1049 Makefile.in
--- gcc/Makefile.in 5 May 2003 21:59:32 -0000 1.1049
+++ gcc/Makefile.in 10 May 2003 00:29:40 -0000
@@ -66,7 +66,7 @@
# Sed command to transform gcc to installed name.
program_transform_name = @program_transform_name@
-program_transform_cross_name = s,^,$(target_alias)-,
+program_transform_cross_name = @program_transform_name@
# -----------------------------
# Directories used during build
--
Michael Eager eager@mvista.com 408-328-8426
MontaVista Software, Inc. 1237 E. Arques Ave., Sunnyvale, CA 94085