This is the mail archive of the gcc-help@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]

Re: Problems when building gcc 3.2or 3.3 as cross compiler for powerpc-linux


On Mon, May 26, 2003 at 11:48:35AM -0400, Richard Sewards wrote:
> Hi,
> 
> I have been trying to build 3.2.3 and 3.3 with glibc 2.3.2 as cross
> compilers (host i686-linux-gnu, target powerpc-linux-gnu) and I run into
> header file problems when compiling libgcc2.c.  Specifically, I get:
> 
>     In file included from tconfig.h:22,
>                  from ../src/gcc/libgcc2.c:36:
>     ../src/gcc/config/rs6000/linux.h:86:20: signal.h: No such file or
> directory
>     ../src/gcc/config/rs6000/linux.h:87:26: sys/ucontext.h: No such file
> or directory
> 
> I have been following the advice in Nick Patavalis' very helpful note,
> but this appears to be a powerpc specific issue.
>

Have you provided *linux kernel headers* when building the minimal
gcc?  I had similar (though I don't remember if they were *identical*)
problems when building for ARM, and they were corrected when I povided
kernel heareds to the minimal gcc build. Indeed, it seems that both
"ucontext.h" and a "signal.h" files *are* in the kernel headers.
 
/npat

-- 
Talking about music is like dancing about architecture
  -- Frank Zappa


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