Trouble crosscompiling gcc-3.3 for sh-elf (dreamcast)

Dan Kegel dkegel@ixiacom.com
Wed Jun 4 21:50:00 GMT 2003


Peter Barada wrote:
>>So, where's that "Don't run fixproto" come from?
> 
> You could drop a comment at the start/end of the t-* files to find out
> which one

That was helpful.  I also had to add 'set -x' to configure to see the
complete set of t- files it used.

Turns out config/sh/t-linux is used when building for sh, but
config/t-linux is used when building for ppc.
sh/t-linux is missing the line that disables running fixprotos.

I verified that adding the line lets me build the compiler.
No idea if it's really the right fix, but it's my best guess.

I've updated http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10331
with a patch that adds the probably missing line.

Christian, could you try that patch and report whether it helps you?
- Dan


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list