rchampe@hubcap.UUCP (Richard Champeaux) (11/12/88)
I'm having a problem with the Large Data option of Aztec's C. I've written a program that has a couple of large arrays in it and this is what prints out when I run make: cc +D ca.c Aztec C68K 3.6a 12-18-87 (C) 1982-1987 by Manx Software Systems, Inc. Aztec 68000 Assembler 3.6a 12-18-87 ln ca.o -lc Aztec C68K Linker 3.6a 12-18-87 Base: 000000 Code: 001ff0 Data: 0002bc Udata: 023730 Total: 0259dc Total data size > 64K! Too large for small data model. exit code 10 I also tried using the "+C" option along with the "+D" but it didn't make a difference. It plainly states in the manual that "+D" makes it use the large data model, so why doesn't it? What am I doing wrong? Thanks, Rich Champeaux Clemson University
dillon@POSTGRES.BERKELEY.EDU (Matt Dillon) (11/16/88)
: I'm having a problem with the Large Data option of Aztec's C. I've : cc +D ca.c :Aztec C68K 3.6a 12-18-87 (C) 1982-1987 by Manx Software Systems, Inc. :Aztec 68000 Assembler 3.6a 12-18-87 : ln ca.o -lc :Aztec C68K Linker 3.6a 12-18-87 :Base: 000000 Code: 001ff0 Data: 0002bc Udata: 023730 Total: 0259dc :Total data size > 64K! Too large for small data model. You are linking with c.lib which uses the small data model. You must link with cl.lib which uses the large data model. All items in the link list, objects and libraries, must use the large data model. Theoretically you ought to be able to mix it with the large-data allocated stuff larger than 64K, but the linker is stupid. -Matt