This is a patch for gcc 2.95.3 to produce an OS4 compiler.
To rebuild the source, get ftp://ftp.gnu.org/pub/gnu/gcc/gcc-2.95.3.tar.gz.
Unpack the source, change to the directory of the source code, and apply the
diff (unpack it first):
> tar xvzf gcc-2.95.3.tar.gz
> cd gcc-2.95.3
> bzcat <path/to/patch/>gcc-2.95.3.patch.bz2 | patch -p 1
To build the compiler, create a new directory (outside the gcc source tree),
and
configure the compiler:
> mkdir gcc-build
> cd gcc-build
> ../gcc-2.95.3/configure --host=<desired host system> --target=ppc-amigaos
--build=<your build system> -enable-languages=c,c++ --enable-haifa
--disable-shared --prefix=<path/to/install/to>
> make
> make install
For more information about configuring and building gcc, see the gcc
doumentation in gcc-2.95.3/install
| |