This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

Re: FW: Problems building cross-compiler for arm-linux


>> libgcc1.S: 438: asm/unistd.h: No such file or directory
>> make[1]: *** [libgcc1 - asm.a] Error 1
>> make[1]: Leaving directory '/usr/local/build/gcc/gcc'
>> 
>> It appears it can't find unistd.h because as per the document only the
>> /include/asm-arm and /include/linux kernel headers were copied to
>> /usr/arm-linux/include.  Is there a way around this?

Yes, just symlink asm-arm -> asm.  This should have happened automatically 
when you configured the kernel.  You may also have to make symlinks for `proc' 
and `arch' inside asm-arm.

p.




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


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