delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/05/21/21:10:43

Date: Wed, 21 May 2003 21:10:23 -0400
Message-Id: <200305220110.h4M1AN3X003333@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <vsUya.1395$cK1.177@news01.bloor.is.net.cable.rogers.com>
(flysled AT rogers DOT com)
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>
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> I forget what switches to put in the command line if I want to compile my
> code 'code.c' using ONLY standard C compiler.

You want -ansi and/or -pedantic.  Depending on which gcc you're using,
-std= might be available also.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019