This article is from the Amiga FAQ, by Ignaz Kellerer with numerous contributions by others.
1. If this is your first installation of GCC:
Do the following:
cd place_with_lot_of_space ; EDIT! specify one makedir gnu lha x gcc260-base.lha ; first part, you need it
Now you have to append `gnu/s/user-startup' to your `s:user-startup' (replace Devel:GNU by your own gnu path).
execute gnu/s/user-startup ; makes important assigns copy gnu/envarc/#? ENVARC:
*Edit* the following lines! If you have a 68000 or 68010 Amiga, remove the "-020" from the following lines wherever it appears!
lha x gcc260-c-020.lha ; C-compiler part; you need it lha x gcc260-doc.lha ; only if you want Gcc documentation lha x gcc260-c++-020.lha ; only if you want C++ lha x gcc260-objc-020.lha ; only if you want Objective-C lha x gcc260-utils.lha ; only if you want additional utilities ; (recommended for Unix compatibility) lha x gcc260-utilsdoc.lha ; if you want all utilities documentation
You must restore links between some programs by running the script `restorelinks':
sh /gnu/s/restorelinks ; EDIT! Append a " copy" to this line ; if you don't want to use makelink ; but rather copy file
lha x gcc260-diffs.lha ; if you want to rebuild all distribution lha x gcc260-texi.lha ; if you want to build Postscript doc files
Now skip to next paragraph and happy compiling!
2. If you "upgrade" your gcc environment from v2.5.x, just unarchive first 2 archives as it would normally include all what you need (thus gcc260-base and gcc260-c). Make sure you delete your previous ixemul.library wherever it is (usually LIBS:).
*Note*: new version of ixemul.library is provided, make sure you don't have another copy somewhere which may conflict with gcc.