(a)
> cd binutils-2.9.1
> ./configure --prefix=3D/usr/local --target=3Dh8300-hitachi-hms
> make
> su
# make install

(b)
> cd gcc-2.8.1
> ./configure --prefix=3D/usr/local --target=3Dh8300-hitachi-hms
> make LANGUAGES=3Dc
> su
# make LANGUAGES=3Dc install

Example 1: Cross-compiler setup. (a) Compiling and installing binutils; (b) compiling and installing gcc.

Back to Article
Copyright © 1999, Dr. Dobb's Journal