Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!mtune!codas!killer!ozdaltx!root From: root@ozdaltx.UUCP (root) Newsgroups: comp.unix.xenix Subject: SCO flags Message-ID: <4254@ozdaltx.UUCP> Date: Fri, 4-Sep-87 20:39:00 EDT Article-I.D.: ozdaltx.4254 Posted: Fri Sep 4 20:39:00 1987 Date-Received: Sun, 6-Sep-87 04:06:30 EDT Organization: OZ BBS - Dallas, TX Lines: 30 In article <1987Sep3.213949.13909@gpu.utcs.toronto.edu>, onn@gpu.utcs.toronto.edu (Brian Onn) writes: - -OK. I am compiling a program under SCO XENIX 2.1.3. The program consists -of 38 object files. All sources compile *clean* with 'cc -M2l -O -c ?????.c'. -When I link them with 'cc -Ml -o file *.o -lcurses -ltermlib', what do I -get??? - -/bin/ld: Segment size exceeds 64K -Input File: /lib/Llibc.a(errlst.o.c) pos: a955 Record type: 98 - -Now I *know* that the segments exceed 64K! That is the reason why I chose -the LARGE memory model (-Ml) in the first place! - -What is ld *really* trying to say here? Try the line: cc -Mlt5 -LARGE -O -c xxx.c then cc -Mlt5 -LARGE -o file -l(libs) Worked on the news programs with the addition of the flag, -F 8000. -- ============================================================ | Scotty | Adapt - Enjoy - Survive | | ihnp4!killer!ozdaltx!sysop | "Ad Venerem Securiorem" | ============================================================