Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!clyde!watmath!watcgl!watmum!smvorkoetter From: smvorkoetter@watmum.waterloo.edu (Stefan M. Vorkoetter) Newsgroups: comp.sys.ibm.pc,comp.lang.c Subject: TURBO C Linking Problem Message-ID: <2293@watcgl.waterloo.edu> Date: Mon, 9-Nov-87 21:52:59 EST Article-I.D.: watcgl.2293 Posted: Mon Nov 9 21:52:59 1987 Date-Received: Fri, 13-Nov-87 21:38:18 EST Sender: daemon@watcgl.waterloo.edu Distribution: na Lines: 21 Keywords: TURBO C Linking Xref: mnetor comp.sys.ibm.pc:10013 comp.lang.c:5363 I am having problems linking a program with TURBO C. The program consists of about 15 source files. Each and every one compiles, but when I link, I get an error when CH.LIB is being linked in that there is too much global data defined in a file. None of my files defines more than 64K of global data. As a matter of fact, the entire program uses less than 64K of global data. Unfortunately, it won't even tell me which file is the supposed culprit. I have double checked that the model is selected properly, and that everything else is set right. I am running under the integrated environment. By the way, the program I am compiling is a C compiler that I am developing. Perhaps this is Borland's way of preventing competition :-) Any help on this matter would be appreciated. The program compiles fine under 4.3 BSD. I am not doing anything the least bit esoteric anywhere. Thanks in advance, Stefan Vorkoetter Symbolic Computation Group University of Waterloo (smvorkoetter@watmum.waterloo.edu)