This is the mail archive of the gcc@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 building cross compilers


Danish Samad wrote:

> Iam facing problems trying to build a cross compiler
> for arm-linux. make exits saying 
> 
> error libgcc1.s: asm/unistd.h no such file or
> directoory 

Presumably you've copied over headers from an arm-linux distribution
using '--with-headers'. Most GNU/Linux distributions use symbolic links
into the kernel sources which '--with-headers' doesn't copy correctly.
(Alternatively you may have built your own sys-includes for the cross
compile and forgotten the two directories from the kernel sources).

Make sure that <prefix>/arm-linux/sys-include/asm and -/linux are
directories or working symbolic links. If not, you need to copy the
relevant directories from the kernel source tree.

Hope that helps,
Rupert.


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