crosstools should create linux/autoconf.h

Martin Schaffner schaffner@gmx.li
Thu Apr 15 09:38:00 GMT 2004


Hi,

I tried to cross-compile mac-fdisk from a Mac OS X 3.3 host to  
powerpc-linux-gnu, using a cross-compiler built with crosstool.

I got this error:
/Volumes/ext/crosstool/powerpc-750-linux-gnu/gcc-3.3.3-glibc-2.3.2/ 
powerpc-750-linux-gnu/sys-include/linux/config.h:4:28:  
linux/autoconf.h: No such file or directory

Inspired by  
http://mirror.vtx.ch/lfs/lfs/view/stable/chapter05/kernel-headers.html,  
I was able to fix it like this:
touch  
/Volumes/ext/crosstool/powerpc-750-linux-gnu/gcc-3.3.3-glibc-2.3.2/ 
powerpc-750-linux-gnu/sys-include/linux/autoconf.h

Maybe crosstool should create autoconf.h by default?

Martin


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



More information about the crossgcc mailing list