From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Greg Rudd Newsgroups: gmane.os.tru64.managers Subject: GCC and CC questions Date: Fri, 04 Jul 2003 16:11:16 +1000 Organization: Univeristy of Sydney ITS Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <200307041611.16261.g.rudd@isu.usyd.edu.au> Reply-To: g.rudd@isu.usyd.edu.au NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1057299061 5684 80.91.224.249 (4 Jul 2003 06:11:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 4 Jul 2003 06:11:01 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Jul 04 08:10:59 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19YJmd-0001TX-00 for ; Fri, 04 Jul 2003 08:10:59 +0200 Original-Received: (qmail 18777 invoked by uid 5); 4 Jul 2003 06:11:23 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 18768 invoked by uid 49493); 4 Jul 2003 06:11:23 -0000 Original-Received: from g.rudd@isu.usyd.edu.au by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-2.4/5.0):. Processed in 0.445184 secs); 04 Jul 2003 06:11:23 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 4 Jul 2003 06:11:22 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HHH00LQHL6XCW@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 04 Jul 2003 02:11:21 -0400 (EDT) Original-Received: from lorica.ucc.usyd.edu.au (lorica.ucc.usyd.edu.au [129.78.64.15]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HHH0056CL6UTZ@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 04 Jul 2003 02:11:19 -0400 (EDT) Original-Received: from oberon.ucc.usyd.edu.au (oberon.ucc.usyd.edu.au [129.78.64.20]) by lorica.ucc.usyd.edu.au (8.12.9/8.12.9) with ESMTP id h646BH24017587 for ; Fri, 04 Jul 2003 16:11:17 +1000 (EST) Original-To: tru64-unix-managers@ornl.gov User-Agent: KMail/1.4.3 X-RAVMilter-Version: 8.4.3(snapshot 20030401) (lorica) Xref: main.gmane.org gmane.os.tru64.managers:4755 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4755 Hi All Sorry if this might have been answered answered before but I am trying to= get=20 the compaq cc compiler to perfrom the in the same way as gcc. My sort=20 understanding that the default behaviour of gcc is that of relaxed K&R wi= th=20 relaxed ansi. Also another thing that I have noticed that gcc is far les= s=20 strict with type checking than the compaq cc compiler . What flag should = I=20 use to get the exact or simmilar behaviour of gcc with cc.=20 BTW What would be a good wish list would be for cc in a future version of= =20 tru64 to have a -gnu flag so as you get the benefits of the compaq cc=20 optimisation when compiling some open source software. Thanks in advance=20 -greg --=20 Greg Rudd Computer Systems Officer Information Technology Services University Of Sydney PH: +61 2 9351 5531 Fax +61 2 0351 6004 email: grudd@mail.usyd.edu.au ------------------------------------------------- /"\ ASCII Ribbon Campaign against HTML \ / email=20 X =20 / \ ------------------------------------------------- For more info on why you should not send html in email go to http://www.american.edu/cas/econ/htmlmail.htm