Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!bacchus.pa.dec.com!deccrl!decvax.dec.com!maxx!tyager From: tyager@maxx.UUCP (Tom Yager) Newsgroups: comp.unix.i386 Subject: Re: ISC 2,2 and LPI C problem. Summary: Read the release notes Message-ID: <75@maxx.UUCP> Date: 2 Aug 90 03:16:33 GMT References: <773@essnj1.ESSNJAY.COM> Organization: MAXX: Tom Yager's UNIX lab, Amherst, NH. Lines: 17 In article <773@essnj1.ESSNJAY.COM>, smitty@essnj1.ESSNJAY.COM (Hibbard T. Smith JR) writes: > ...the "ansi" c compiler from LPI. ...it couldn't produce working code > from the distributed samples. This code always prints 0 for argc, and trash > for argv's It's in the release notes, but not easy to spot. To get it to compile properly under ISC, you need to specify the "-sys" and "-xid" compiler options. I've been porting ANSI C apps from DOS with these flags set, and haven't encountered any problems. (ty) -- +--Tom Yager, Technical Editor, BYTE----Reviewer, UNIX World---------------+ | UUCP: decvax!maxx!tyager NET: maxx!tyager@bytepb.byte.com | | "I just bought...the Macintosh portable. And I took it back. Pain in the | +--butt." --Harry Connick, Jr.-------I speak only for myself.--------------+