5 # Since we are taking Linux glibc as a starting point we need the
6 # Linux kernel headers. In the long term we will need Linux's errno
7 # numbers, but probably nothing more.
10 cp -a /usr
/include
/asm
/usr
/include
/asm-generic
/usr
/include
/linux \
16 ..
/configure
--prefix=/usr
--host=i486-linux-gnu \
17 CC
="`pwd`/../../tools_bin/linux/sdk/nacl-sdk/bin/nacl-gcc" \
18 CFLAGS
="-march=i486 -pipe -fstrict-aliasing -O2 -g -mno-tls-direct-seg-refs" \
19 --with-headers=`pwd`/..
/kernel-headers
--enable-kernel=2.2.0