Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!munnari!otc!metro!extro!glenn From: glenn@extro.ucc.su.oz (G. Geers [ext 3241]) Newsgroups: comp.unix.xenix Subject: Segment size exceeds 64K --- Help !!! Message-ID: <414@extro.ucc.su.oz> Date: 5 May 89 23:59:41 GMT Reply-To: glenn@extro.ucc.su.oz (G. Geers [ext 3241]) Organization: University Computing Service, Uni. of Sydney, Australia. Lines: 20 I am trying to port a rather large C program that I wrote some time back to Xenix on a 286 (2.2.1). I am compiling the sources large model with CFLAGS set as -M2lt24 -Ox -CSON and LFLAGS set as -M2l -SEG#256. The linker gets about halfway through the file list and then dies with the following message: /bin/ld: Segment size exceeds 64K Input File: do_screen.o(do_screen.c) pos: 74 Record type: 98 Does this mean that an individual object file yielded more than one segments worth of code or what ? Anyone seen this before and/or know a work around ? It's probably of general interest so the net may be a good place for replies. Thanks Glenn glenn@extro.ucc.su.oz Remember: Albert Einstein was a Tasmanian (see the filem "Young Einstein" and find out all about it ).