- gmake install
if your build process has completed successfully, the install process should go fairly smoothly. one tangle may occur when the install process attempts to run in the locale/ directory. there are either missing rules for, or the rules don't work quite correctly for, the i18n/locales/ and i18n/repertoiremaps/ targets.
if you encounter this problem, to work around it, simply create the following directories yourself:
- cd <tool dir>/target/powerpc-linux-gnu/share/
- mkdir i18n
- cd i18n
- mkdir locales
- mkdir repertoiremaps
- cd <object dir>/glibc-2.1.3
- gmake install
the install process should take about 15 or so minutes, assuming that no errors are encountered.
provided that glibc compiled successfully, you are ready to go back and rebuild the c compiler and, if you wish, build the objective c, c++ and f77 compilers.
- extract
- cd <source dir>
- mv gcc-2.95.2 gcc-core-2.95.2
- gtar zxvf <archive dir>/gcc-2.95.2.tar.gz
- build
- cd <object dir>
- mv gcc-2.95.2 gcc-core-2.95.2
- mkdir gcc-2.95.2
- cd gcc-2.95.2
- <source dir>/gcc-2.95.2/configure --host=sparc-sun-solaris --target=powerpc-linux --prefix=<tool dir>/host/sparc-sun-solaris --with-headers=<tool dir>/target/powerpc-linux-gnu/include --with-libs=<tool dir>/target/powerpc-linux-gnu/lib --enable-shared --enable-languages="c,c++,f77"
- gmake
- install
- gmake install