<< Amiga Libraries
>> How to get help

Installation

IMPORTANT NOTE FROM Philippe Brand:

As this is FAQ, most often asked question about gcc-2.5.8 is: "I can't compile C++ programs, what's up ?"

In fact, I've messed up gcc-2.5.8 distribution. Instead of 2.5.8 versions of C++ and Objective-C compiler passes, 2.5.7 versions were included. You've got here 2 options.

- rename lib/gcc-lib/amigados/2.5.7 to 2.5.8 - get gcc258ud.lha on Aminet, which contains proper 2.5.8 versions.

From Aminet get also gcc258ud1.lha which contains some fixed libraries, headers etc...

And DON'T forget to grab gcc258-readme.lha also from Aminet.

  1. If this is your first installation of GCC:

    CLI> cd Disk_with_lot_space:
    CLI> lha x gcc258-x.lha
    
    (where x stands for 1 through 4, 5 & 6 if you want also to have sources)

    Now from the Workbench, invoke GCC-Install. This is what people wanted, e.g. an Installer based configuration script for GCC.

    Thus you only have to unpack archives and the installer script will do the rest, creating environment variables, adding assigns to user-startup, copy library and handler.

    BTW:

    Installer and Installer project icon (c) Copyright 1991-93 Commodore-Amiga, Inc. All Rights Reserved. Reproduced and distributed under license from Commodore.

  2. If you "upgrade" your gcc environment from v2.x.x, well just erase gcc directory then go back to step 1. Too many stuff have changed. Just make sure you've backuped all what you've added to the GCC tree before.

Note that you MUST use ixemul.library revision 45 and NOT revision 47, as the latter doesn't check for ENV:

You need to have a 50.000 stack size in order to compile with GCC. This should be enough for most projects. Note than while recompiling gcc with itself it has takeen more than 245KB stack. Stack can grow due to source complexity. Don't be afraid of it.

To use ar and/or ranlib, you should have a much larger stack, between 200.000 and 300.000, depending on library size.



<< Amiga Libraries >> How to get help