gcc-3.3.x compiling bug

Jim Wilson wilson@specifixinc.com
Fri Feb 20 01:58:00 GMT 2004


silverio.di@qem.it wrote:
> In file included from embed-bb.c:40:
> ../../gcc-3.3.3/gcc/tsystem.h:72:19: stdio.h: No such file or directory
> ../../gcc-3.3.3/gcc/tsystem.h:75:23: sys/types.h: No such file or directory

This is an SH specific problem with 3.3.x which is fixed in 3.4.

The SH port defines its own embed-bb.c file which overrides the usual 
treatment of inhibit_libc in a broken way.  The result is that you can't 
build the SH port without a library.

You could just get rid of the special embed-bb.c rules, which will let 
this work again.  If you have a compiled gcc/newlib tree, then 
--with-headers might work.  Another alternative, is to backport the fix 
from 3.4.  See the 2003-05-23 change from Joern Rennecke.  The first 
option is the easiest one.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc mailing list