[comp.unix.xenix] Segment size exceeds 64K --- Help !!!

glenn@extro.ucc.su.oz (G. Geers [ext 3241]) (05/06/89)

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 ).