This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

crosstools should create linux/autoconf.h


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


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