home *** CD-ROM | disk | FTP | other *** search
- how to recompile libbamiga.a:
-
-
- 1) clear your ram-disk from all .s and .o-Files
-
- 2) generate stubs with
-
- cd support
- execute MakeGlue
-
- this needs quite a lot of ram, time and later HD-space, you have been warned !
- On my Amiga 4000/40/14 it took more than 40 minutes!
-
- 3) correct path to your amiga.lib in the file Install_new_amiga_lib
- (about line 5)
-
- 4) cd support
-
- 5) execute Install_new_amiga_lib
-
- 6) Test the numbers of the objectfiles in the file "RenameObjectFiles" if
- they are correct (obj.xxxx*). if not, correct and go to step 5
-
- 7) ready !
-
-
-
- how to generate libamiga.a:
-
- 1) delete all files in ram:
-
- 2) copy your amiga.lib to ram:
-
- 3) cd ram:
-
- 4) hunk2gcc amiga.lib
-
- 5) ar qc libamiga.a obj.*
-
- 6) ranlib libamiga.a
-
- 7) copy libamiga.a lib:
-
- as there is a bug in as/ld or hunk2gcc, there is (at least) one
- object module with a serius error. We have to replace that object
- with a correct one.
-
- 8) cd amiga_lib/support
-
- 9) make
-
- 10) the compiler will complain that there are some things declared twice.
- Remember the object name in libamiga.a
-
- e.g.: gcc:lib/libamiga.a(obj.1137.387704): Definition of symbol _ArgArrayInit (multiply defined)
- ^^^^^^^^^^^^^^^
-
- 11) copy argarrayinitdone.o to ram:
-
- 12) cd ram:
-
- 13) ar -d -v libamiga.a <objectfile to delete>
-
- 14) ar -q -v libamiga.a argarrayinitdone.o
-
- 15) ranlib libamiga.a
-
- 16) copy ram:libamiga.a lib:
-
- 17) Ready !
-
-
-