[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.6 Crossbuilding a compiler.

Using a cross-compiler to build GNU Pascal results in a compiler binary that runs on the cross-target platform. This is called "crossbuilding". A possible reason why anybody would want to do this, is when the platform on which you want to run the GNU Pascal compiler is not self-hosting. An example is mingw32.

To crossbuild GNU Pascal, you have to install a cross-compiler for your target first, see section 5.5 Building and Installing a cross-compiler.

As when building a cross-compiler, configuration and compilation of the compiler can be done using the scripts `cfgpc' and `mkgpc' which are included in the source distribution in the subdirectory `p/script'. Please call them with the `-h' option for instructions.



This document was generated by Frank Heckenbach on May, 10 2002 using texi2html