This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/16503] failure building cross compiler (host:sparc, target:sparc64).
- From: "pluto at pld-linux dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jul 2004 16:39:47 -0000
- Subject: [Bug middle-end/16503] failure building cross compiler (host:sparc, target:sparc64).
- References: <20040712213445.16503.pluto@pld-linux.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pluto at pld-linux dot org 2004-07-14 16:39 -------
(In reply to comment #2)
> ps).
>
>
[ -f /home/users/pluto/rpm/BUILD/gcc-3.4-20040709/obj-sparc64-pld-linux/gcc/../binutils/ar ] ;
> then
>
echo /home/users/pluto/rpm/BUILD/gcc-3.4-20040709/obj-sparc64-pld-linux/gcc/../binutils/ar ;
> else if [ "sparc64-unknown-linux-gnu" = "sparc64-pld-linux-gnu" ] ; then
echo
> ar; else t='s,^,sparc64-pld-linux-,;'; echo ar | sed -e ?; fi; fi`
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
> ^^
> (...)
> sed: option requires an argument -- e
> Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
>
# fix.
--- gcc-3.4-20040709/gcc/Makefile.in.orig 2004-07-14 18:31:01.000000000
+0200
+++ gcc-3.4-20040709/gcc/Makefile.in 2004-07-14 18:36:13.000000000 +0200
@@ -304,7 +304,7 @@
if [ "$(host)" = "$(target)" ] ; then \
echo ar; \
else \
- t='$(program_transform_name)'; echo ar | sed -e $$t ; \
+ $(shell echo ar|sed $(program_transform_name)); \
fi; \
fi`
AR_FLAGS_FOR_TARGET =
@@ -317,7 +317,7 @@
if [ "$(host)" = "$(target)" ] ; then \
echo $(RANLIB); \
else \
- t='$(program_transform_name)'; echo ranlib | sed -e $$t ; \
+ $(shell echo ar|sed $(program_transform_name)); \
fi; \
fi`
NM_FOR_TARGET = ` \
@@ -329,7 +329,7 @@
if [ "$(host)" = "$(target)" ] ; then \
echo nm; \
else \
- t='$(program_transform_name)'; echo nm | sed -e $$t ; \
+ $(shell echo ar|sed $(program_transform_name)); \
fi; \
fi`
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16503