well, last night i got to chapter 5.7 - the toolchain adjustment after having compiled glibc for the first time... didn't have to jump through any hoops like i had imagined... basically it was just a matter of using the kernel headers from my box, instead of the "sanitized" headers which you are instructed to use in
chapter 5.5... in my particular case it went like:
Code:
cp -Rv /usr/src/linux-2.4.33-pre2/include/asm-i386 /tools/include/asm
cp -Rv /usr/src/linux-2.4.33-pre2/include/linux /tools/include
the only other modification i did was when configuring glibc prior to compilation... i changed this:
Code:
--enable-add-ons --enable-kernel=2.6.0
to this:
Code:
--enable-add-ons=linuxthreads --enable-kernel=2.4.1
i unpacked the linuxthreads tarball into the glibc source directory before doing that...
hopefuly i'll be able to get to chapter 6 tonight...
EDIT: after getting to chapter 6, i'm starting have doubts about the --enable-add-ons option... i'm suspecting what i should have done was to just omit it... i'll be looking at this later, for now i'm going-on as is...