rachamp@mbunix.mitre.org (Richard A. Champeaux) (08/02/89)
With Aztec C, can you combine object modules compiled with +lcd with those that arn't? The handler interface of PLT: seems to need to be compiled with +lcd, but the rest of the handler doesn't need to. I remember the manual vaguely mentioning that it can be done, but I don't understand how (they might only have been talking about Large Data and Small Data models being combined). Aztec C has libraries for Large Code and 32 bit ints (cl32.lib, ml32.lib), and libraries for Small Code and 16 bit ints (c.lib, m.lib). It doesn't seem like it would be as easy as linking with all four libraries, since I remember that ln didn't complain if you compiled with +l and linked with c.lib. You just ended up with a program that didn't quite work. I don't think we're using any of the functions like printf(), but we are using some of the trig functions. Thanks, Rich Champeaux