OK, for clarity, i did not mean the exact flags as used in those instructions, as those are clearly for producing a compiler targetting i686-lfs-linux-gnu. In fact, the actual steps I used for my current i686-elf targetting compiler are:
Code:
../gcc-5.4.0/configure --target=i686-elf --prefix=/home/david/osdev-tools --disable-nls --enable-languages=c, --without-headers --disable-shared --disable-multilib --disable-decimal-float --disable-threads --disable-libatomic --disable-libgomp --disable-libmpx --disable-libquadmath --disable-libssp --disable-libvtv --disable-libstdcxx
make
make install
To the best of my understanding, this produces a freestanding compiler, but does not require the use of the all-gcc and all-libgcc targets, which I see as a more elegant approach. Are there any things I am missing that make this different from the wiki suggested method in a way that could produce problems?