[comp.os.minix] How to construct a c68 library

HBO043%DJUKFA11.BITNET@cunyvm.cuny.edu (Christoph van Wuellen) (03/26/91)

It is important to assemble the files in the c68 support library
and include these in /usr/lib/libc.a since they resolve references
which are generated by the compiler (e.g. for 32-bit multiply/divide,
floating point etc.).

cd .../lib68k_ack
cc -c *.s
ar rv /usr/local/libc.a *.o

It is no problem to link c68-generated code with ACK-generated code. This
works in nearly all cases. Problems arise if 'double' values are passed --
but this should not occur in the 'standard' minix libc.a. At any rate, you
can link your c68 with the old ACK library. You are advised to re-compile
your library thereafter since it will simply become faster.

The file cc.c supplied with an earlier version will give you a compiler
driver for both the ACK and c68 compiler. Note that '-c68' must be the
first option given to cc in that version to activate c68.
C.v.W.