It's not possible for me to redistribute amiga.lib - but you should have one if you really want to use the possibilities of your amiga. (You don't need one if you only want to use ANSI features or if you use the inline headers of gcc) If you want to compile resident programs you will need a baserelative version too.
To solve this problem I decided to build a selfmade version of libamiga.a. The gluecode of this library is built out of the inline header files of gcc, some of the other functions are written from scratch. This does not give you a complete version of libamiga.a but a better that nothing version including sources. To rebuild it unpack the sources, then type a 'make libamiga'.
If you want to have a fully functional version of libamiga.a you can use the real one. To do this you will have to convert normal amiga objectfile format to a.out format (known by the linker). Type:
cd <some empty directory> stack 300000 sh Hunk2GCC <path>amiga.lib ar -q libamiga.a obj* rm *.o ranlib libamiga.a exit
Doing this on ‘RAM:’ will improve performance a lot.
This doesn't give you the baserelative version blib/libamiga.a - you will be unable to compile resident programs. To get a baserelative version of amiga.lib try to get the ‘libtos’ program of the ‘DICE’ compiler of M. Dillon (from fishdisk or somewhere else) - it converts libraries to baserelative ones:
cd <some empty directory> lha x amigalibdisk491:dice/dice206_21.lzh #?/libtos netdcc/bin/libtos <path>amiga.lib amigas.lib
Then do the same as above.