Xref: utzoo comp.unix.microport:538 comp.unix.xenix:2094 comp.sys.ibm.pc:14804 comp.unix.questions:6688 Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!hc!beta!cmcl2!phri!manhat!mancol!samperi From: samperi@mancol.UUCP (Dominick Samperi) Newsgroups: comp.unix.microport,comp.unix.xenix,comp.sys.ibm.pc,comp.unix.questions Subject: CTeX and DOS or XENIX or Microport Message-ID: <377@mancol.UUCP> Date: 23 Apr 88 21:42:16 GMT Organization: Manhattan College, NYC, USA Lines: 29 Keywords: CTeX, UNIX I've been trying to get CTeX 2.9 running under DOS or Xenix or Microport. In the DOS environment, the progem will compile and link in the large memory model, provided that two arrays are declared huge (mem[] and font_info[]). Unfortunately, the resulting executable file is more than 900K, even when the -Os (keep the program small) switch is used. Consequently, it is too big to fit in DOS's limited memory. In the Microport environment, after breaking up a few modules, it is possible to compile all of the source files, but the link fails, even when I change the declared size of some of the arrays so they are not bigger than 64K. It was possible to compile and link the program in the Xenix environment, and the resulting executable is less than 300K (what is going on with the Microsoft DOS C compiler??? - 900K!!!). The huge memory model was used. The program runs, but it seems to dump core when it tries to manipulate a few numbers that are too big to fit in a 16 bit integer. These large numbers are hardwired into the code, apparently under the assumption that the target machine will have 32 bit ints. I have not been able to load any of the standard fonts either. There have been postings here stating that people have been able to compile and run CTeX under DOS and Microport, and this is what motivated me to try. Perhaps the posters could provide a little more information, give pointers to documentation, more details, etc.? Thanks. -- Dominick Samperi, Manhattan College, NYC manhat!samperi@NYU.EDU ihnp4!rutgers!nyu.edu!manhat!samperi philabs!cmcl2!manhat!samperi ihnp4!rutgers!hombre!samperi (^ that's an ell) uunet!swlabs!mancol!samperi