This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/10331] [x86 -> SH] can't compile c++ crosscompiler part of gcc crosscompiler for sh-elf


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]