cvs.gedasymbols.org/archives/browse.cgi | search |
Message-ID: | <3ECC6AE1.101@earthlink.net> |
From: | Martin Ambuhl <mambuhl AT earthlink DOT net> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 |
X-Accept-Language: | en-us, en, de, fr, ru, el, zh |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: compiling Standard C |
References: | <vsUya.1395$cK1 DOT 177 AT news01 DOT bloor DOT is DOT net DOT cable DOT rogers DOT com> |
Lines: | 12 |
Date: | Thu, 22 May 2003 06:12:56 GMT |
NNTP-Posting-Host: | 65.148.5.198 |
X-Complaints-To: | abuse AT earthlink DOT net |
X-Trace: | newsread1.prod.itd.earthlink.net 1053583976 65.148.5.198 (Wed, 21 May 2003 23:12:56 PDT) |
NNTP-Posting-Date: | Wed, 21 May 2003 23:12:56 PDT |
Organization: | EarthLink Inc. -- http://www.EarthLink.net |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Randy Rieger wrote: > I forget what switches to put in the command line if I want to compile my > code 'code.c' using ONLY standard C compiler. > Can someone help me out with this? Thanks so much > > Use one of '-std=c89' or '-std=c99' together with '-pedantic'. You might want to check on the '-W' and '-Wall' options as well as enabling some of the less common warnings. All this is in your info file: "info gcc" is the simplest invocation.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |