| delorie.com/archives/browse.cgi | search |
| Message-ID: | <3ECC874F.DEAA295@acm.org> |
| From: | Eric Sosman <esosman AT acm DOT org> |
| X-Mailer: | Mozilla 4.72 [en] (Win95; U) |
| X-Accept-Language: | en |
| 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 13:15:19 GMT |
| NNTP-Posting-Host: | 12.91.0.59 |
| X-Complaints-To: | abuse AT worldnet DOT att DOT net |
| X-Trace: | bgtnsc04-news.ops.worldnet.att.net 1053609319 12.91.0.59 (Thu, 22 May 2003 13:15:19 GMT) |
| NNTP-Posting-Date: | Thu, 22 May 2003 13:15:19 GMT |
| Organization: | AT&T Worldnet |
| 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 -ansi and -pedantic, and it's a good idea to use -Wall and -W as
well.
--
Eric Sosman
esosman AT acm DOT org
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |