Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!udel!mmdf From: HBO043%DJUKFA11.BITNET@cunyvm.cuny.edu (Christoph van Wuellen) Newsgroups: comp.os.minix Subject: How to construct a c68 library Message-ID: <48902@nigel.ee.udel.edu> Date: 26 Mar 91 13:51:57 GMT Sender: mmdf@ee.udel.edu Lines: 19 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.