home *** CD-ROM | disk | FTP | other *** search
- MiNT library for c68, patchlevel 46
-
- This is a port of Eric Smith's MiNT library to Thorsten Roskowetz's port
- of Keith Walker's Minix c68 compiler [confused yet? ;) ]. It replaces
- the files crt0.o, libc.a, libc32.a, libiio.a and libiio32.a.
-
- You will need some additional files to build the c68 MiNTlibs. At the
- site where you found this archive, look for the following archives:
-
- mntincXX.tgz
- The library header files for version XX (currently 46). If your
- c68 package came with header files, check the patchlevel in
- PatchLev.h; if it matches the patchlevel of this library, you
- already have the contents of the above archive.
- mit2mot.zoo
- A MIT-to-Motorola assembly code translator. This will be used
- to convert the .cpp files in the MiNTlibs distribution to .s
- files that c68's assembler can deal with.
- cpp114.zoo
- If the cpp that came with your c68 package is version 1.1.3 or
- earlier (you can check this by typing `cpp -V'), you will also
- need this package to upgrade it.
-
- Also, if your c68 distribution uses the JAS assembler, make sure it is
- version 2.00x8 or later (you can check this by typing `jas -V'). If
- your c68 distribution uses as68, you're fine.
-
- WHAT'S HERE:
-
- readme.c68
- This file.
- dfadd.s dfcmp.s dfdiv.s
- dfltodf.s dfmul.s dfneg.s
- dftol.s dftosf.s dftoul.s
- dftst.s dfutodf.s frexp.spp
- ldexp.spp linea.spp modf.spp
- modff.spp sfadd.s sfcmp.s
- sfdiv.s sfltosf.s sfmul.s
- sfneg.s sftodf.s sftol.s
- sftoul.s sftst.s sfutosf.s
- stackche.s stackerr.c stmttrac.s
- xdiv.s xerror.spp xmul.s
- xnorm4.s xnorm8.s osbind.s
- Makefile
- c68-specific source files.
- Makefile.cross
- Makefile for c68 cross-compiler.
-
- WHAT TO DO WITH IT:
-
- 0) Obtain all of the files listed above.
-
- 1) Put mit2mot.ttp somewhere where make can find it. If necessary,
- install the latest versions of cpp and the MiNT headers.
-
- 2) From the main source directory, delete the following files:
-
- - Makefile
- - frexp.cpp
- - ldexp.cpp
- - linea.c
- - modf.cpp
- - osbind.cpp
- - all files beginning with `_'
-
- Copy all the .c, .s and .spp files from this directory into the main
- source directory, as well as either Makefile or Makefile.cross, as
- appropriate. If you are building on a cross-compiler, rename
- Makefile.cross to Makefile.
-
- 3) In the main source directory, edit the Makefile as follows:
-
- - Set $(LIB) to the directory in which c68's libraries reside.
- - Uncomment (or comment) the definitions of $(RM) and $(CP) if
- necessary for your make program.
- - If you do not have the libsort program, delete or comment out
- the lines which invoke it. Libsort reorders an object
- library into optimal linking order; this is not necessary for
- the library to be used with c68, but does decrease link
- time.
-
- 4) Run make. The default target is `lshort', which builds libc.a and
- libiio.a for use in -mshort mode; the `llong' target builds libc32.a
- and libiio32.a, for use in -mlong mode. Note that you can build
- both libraries at once with the command `make lshort llong', since
- the Makefile cleans up properly between libraries.
-
- That's it! Your libraries are now installed and ready to use.
-
- AUTHORS:
-
- No, I didn't do this all by myself. ;) So here are, in no particular
- order, the people who have contributed directly or indirectly to this
- port. See the file AUTHORS in the main source directory for a list of
- contributors to the library as a whole. Please send corrections to the
- address below.
-
- rossi@titan.rz.uni-osnabrueck.de (Thorsten Roskowetz) (compiler maintainer)
- dsb@cs.duke.edu (Scott Bigham) (lib port maintainer)
- t150315@proffa.cc.tut.fi (Tamminen Eero)
- PPOSPIS@MtRoyal.AB.CA (Paul Pospisil)
-
- In addition, many of the files in this directory are from Keith Walker's
- c68 source release; check that package for further contributors.
-
- DISCLAIMER:
-
- What, you were expecting an ironclad guarantee of performance? ;) Okay,
- while I have built several large programs with this library with no
- problems, I can't guarantee that there aren't still a few bugs lurking
- around in the code. Caveat emptor, use at your own risk, and all that
- jazz. And if you should happen to find a bug, please notify me at the
- address below.
-
- Have fun!
-
- Scott Bigham dsb@cs.duke.edu
-