Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!zodiac!hebron!zombolas From: zombolas@hebron.ads.com (Gene Zombolas) Newsgroups: comp.unix.xenix Subject: Re: /bin/ld problem (too many segments) Message-ID: <4336@zodiac.UUCP> Date: 8 Jun 88 21:34:20 GMT References: <304@marob.MASA.COM> <301@intek01.UUCP> Sender: news@zodiac.UUCP Reply-To: zombolas@verity.com (Gene Zombolas) Organization: Verity Inc., Mt. View, CA (415) 960-7600 Lines: 17 In article <301@intek01.UUCP> mark@.UUCP writes: >I've been using the -SEG flag for a year with no ill effects. It is a >"kludge", but it's a kludge caused by the !@$#% segmented architecture, >not any fault of yours. > >Use -SEG and don't sweat it. While porting our companies software Sun to Xenix, I to got the "too many segments" error. What I do not understand is that was on Xenix 386, a virtual machine. The problem was made worse by cc which does not understand the -SEG argument, although it was listed in the manual. To work around this, I had to call the loader directly which is very ugly. Does anyone know what is going on here? Why is the 386 loader still dealing in segments? SCO's customer support could not answer or why cc does not understand -SEG. -Gene Zombolas