delorie.com/archives/browse.cgi | search |
Message-ID: | <3ECCD69E.60907@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> <3ECC874F DOT DEAA295 AT acm DOT org> |
Lines: | 14 |
Date: | Thu, 22 May 2003 13:52:36 GMT |
NNTP-Posting-Host: | 65.148.5.176 |
X-Complaints-To: | abuse AT earthlink DOT net |
X-Trace: | newsread1.prod.itd.earthlink.net 1053611556 65.148.5.176 (Thu, 22 May 2003 06:52:36 PDT) |
NNTP-Posting-Date: | Thu, 22 May 2003 06:52:36 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 |
Eric Sosman wrote: > 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 -ansi and -pedantic, and it's a good idea to use -Wall and -W as > well. > Remember that -ansi is a synonyn for -std=c89. He may want -std=c99.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |