|
26.4.3 Build Cross Host Tools
In order to configure a program for a Canadian Cross build, you must
first build and install the set of cross tools you will use to build the
program. These tools will be build cross host tools. That is, they
will run on the build system, and will produce code that runs on the
host system. It is easy to confuse the meaning of build and host here.
Always remember that the build system is where you are doing the build,
and the host system is where the resulting program will run. Therefore,
you need a build cross host compiler.
In general, you must have a complete cross environment in order to do
the build. This normally means a cross compiler, cross assembler, and
so forth, as well as libraries and header files for the host system.
Setting up a complete cross environment can be complex, and is beyond
the scope of this book. You may be able to get more information from
the `crossgcc' mailing list and FAQ; see
https://www.objsw.com/CrossGCC/.
|