next up previous contents index
Next: Building the Linux kernel Up: Setting up an initial Previous: Building a runtime library   Contents   Index


Rebuilding the cross compiler

The last necessary step for building the Linux kernel or any other application is the rebuild of the intrinsic compiler. Just change directory und rebuild the whole gcc-3.0.1 source package:

$ cd ..
$ mkdir build-gcc2
$ ../gcc-3.0.1/configure --target=$TARGET \
  --prefix=$PREFIX --enable-languages=c,c++
$ make all install

That's all. We have now a complete C - cross compiler.



Christian Berger 2004-10-19