[Top] [All Lists]

Re: gcc-4.1.0 cross-compile for MIPS

To: kernel coder <>
Subject: Re: gcc-4.1.0 cross-compile for MIPS
From: James E Wilson <>
Date: Fri, 16 Jun 2006 15:33:15 -0700
In-reply-to: <>
Original-recipient: rfc822;
References: <>
On Fri, 2006-06-16 at 05:22, kernel coder wrote:
> /home/shahzad/install//mipsel/sys-include -DHAVE_CONFIG_H -I.
> -I../../../gcc-4.1.0/libssp -I. -Wall -O2 -g -O2 -MT ssp.lo -MD -MP
> -MF .deps/ssp.Tpo -c ../../../gcc-4.1.0/libssp/ssp.c -o ssp.o
> ../../../gcc-4.1.0/libssp/ssp.c:46:20: error: fcntl.h: No such file or 
> directory

You can't build target libraries like libssp in a --without-headers
build.  It was luck that this happened to work with earlier gcc
releases, because previously we didn't have C language target libraries
in gcc.  The solution is to do
  make all-gcc
  make install-gcc
instead of just
  make all
  make install

Please see Dan Kegel's crosstools package, which already knows how to do
Jim Wilson, GNU Tools Support,

<Prev in Thread] Current Thread [Next in Thread>