jrb@petro.UUCP (09/29/87)
I have a set of programs that I am trying to port to a Tandy 3000 running SCO XENIX. The problem comes when ld tries to put all the pieces together and I get nasty error messages like "Input: /lib/Mlibc.a ... too many segments". What does this mean? I've tried compiling it in the "Large" model (whatever that might be) and it goes fine but aparently XENIX doesn't like the magic number in the header because it tries to execute the resultant object file as a shell script. How do I cut down on my segments (other than the obvious solution :-) ?? /bin/vi is in the "middle model", whatever that means and it would seem that the two projects are about the same volumetrically. I've compilied my library chunks with "CFLAGS = -O -Mm" and put them into a library called "/lib/Mlibucm.a", which seems to be the correct place. Thanks! Jon -- Jon Boede ...!{gatech,ihnp4,akgua}!petro!jrb 512/599-1847 2555 N.E. Loop 410, #1403, 78217 "People who are incapable of making decisions are the ones who hit those barrels at freeway exits."