Hi,
I'm trying to cross-compile a program(lm-sensors) for MIPS that requires a header sys/io.h However, in my include folder for MIPS I don't have this header. The question is, does eglibc provide this header at all? I am not aware of the significance of io.h but i believe it's pretty important. Also, i don't have linux/io.h or asm/io.h either. So perhaps the absence of this file is arch -specific ?
I'm using eglibc 2.10.1.2. Here are my configure-options:
BUILD_CC="gcc" CC="mipsel-linux-gnu-gcc" \ AR="mipsel-linux-gnu-ar" RANLIB="mipsel-linux-gnu-ranlib" \ ../eglibc-2.10.1/configure --prefix=/usr \ --libexecdir=/usr/lib/eglibc --host=mipsel-linux-gnu \ --build=i686-pc-linux-gnu
--disable-profile --enable-add-ons \ --with-tls --enable-kernel=2.6.0 --with-__thread \ --with-binutils=/cross-tools/bin \ --with-headers=/mipsclfs/usr/include --cache-file=config.cache
Where config.cache contains these options:
libc_cv_forced_unwind=yes libc_cv_c_cleanup=yes libc_cv_gnu89_inline=yes
Any help appreciated, Thank you.
|