OS4Depot.net 20130227_1013
  Home Search Mirrors Contact Info Credits

 Readme data for Root » Development » Utility » gcc.patch.bz2

Description: Patches for gcc 2.95.3 OS4/SDK
Install: gcc.patch.bz2
Size: 169kb 5
Version: 2.95.3
Date: 20 Jun 04
Author: The OS4 team
Submitter: Thomas Frieden
Email: ThomasF/hyperion-entertainment biz
Category: development/utility
License: GPL
Distribute: yes
Min OS Version: 4.0
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











Copyright (c) 2004-2013 Björn Hagström. All rights reserved.
OS4 and its logos are registered trademarks of Hyperion Entertainment