Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!mips!sgi!davea@quasar.wpd.sgi.com From: davea@quasar.wpd.sgi.com (David B.Anderson) Newsgroups: comp.sys.sgi Subject: Re: C compiler question Message-ID: <101332@sgi.sgi.com> Date: 3 May 91 20:10:51 GMT References: <48295@ut-emx.uucp> Sender: guest@sgi.sgi.com Reply-To: davea@quasar.UUCP (David B.Anderson) Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 21 In article <48295@ut-emx.uucp> dboles@ccwf.cc.utexas.edu (David Boles) writes: >I am having a problem with the MIPS C compiler. When I compile, >I use the command cc -acpp -prototypes -p0. The p0 is there because >the C compiler seems to get confused and generates profiling info. >The main problem is that the -prototype option doesn't work correctly. The key is spelling: -prototype is taken as -p (Link with the profiling startup and library). -prototypes is taken to mean ``check prototypes''. That -prototype is silently interpreted as -p is a bug. The release 4.0 driver says about -prototype cc: Error: malformed or unknown option -prototype Regards, [ David B. Anderson Silicon Graphics (415)335-1548 davea@sgi.com ] [``What could possibly go wrong?'' --Calvin `` Whenever you ask that, my tail gets all bushy.'' --Hobbes ]