This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/10331] [x86 -> SH] can't compile c++ crosscompiler part of gcc crosscompiler for sh-elf
- From: "dkegel at ixiacom dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jun 2003 21:46:14 -0000
- Subject: [Bug target/10331] [x86 -> SH] can't compile c++ crosscompiler part of gcc crosscompiler for sh-elf
- References: <20030407102603.10331.paras.rasmatazz@t-online.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10331
------- Additional Comments From dkegel@ixiacom.com 2003-06-04 21:46 -------
OK, learned a little more. It seems that when building a cross-compiler for ppc,
the Makefile is assembled from the following fragments:
rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm rs6000/t-rs6000-c-rule
whereas when building a cross-compiler for sh4, the list is
sh/t-sh sh/t-elf sh/t-linux sh/t-le sh/t-monolib
(found by adding set -x to configure, and grepping for dep_tmake_file=).
t-linux contains the magic line
# Don't run fixproto
STMP_FIXPROTO =
but sh/t-linux doesn't. Doing the obvious stupid thing --
adding the missing line -- seems to fix the problem. Patch attached.
Is this proper?
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.