delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/09/09:31:42

Sender: "Rolf Campbell" <cp1v45 AT nortelnetworks DOT com>
Message-ID: <3785F94A.C248AD67@americasm01.nt.com>
Date: Fri, 09 Jul 1999 09:29:46 -0400
From: "Rolf Campbell" <cp1v45 AT nortelnetworks DOT com>
Organization: Nortel Networks
X-Mailer: Mozilla 4.6 [en] (X11; I; HP-UX B.10.20 9000/712)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
To: djgpp AT delorie DOT com
Subject: Re: Newbie help request: -wall and prototyping
References: <19990708162505 DOT 06504 DOT 00008761 AT ng-fo1 DOT aol DOT com> <3 DOT 0 DOT 6 DOT 32 DOT 19990708211051 DOT 007f6140 AT dce03 DOT ipt DOT br>
X-Orig: <cp1v45 AT americasm01 DOT nt DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id JAA16060
Reply-To: djgpp AT delorie DOT com

"Cesar S. Rabak" wrote:

> At 17:19 08/07/99 -0400, you wrote:
> >
> >>      gcc -o -wall myprog.exe myprog.c
> >       gcc -wall -o myprog.exe myprog.c
> >
> >> 2.     Can I configure something to use -wall automatically, without me
> having
> >> to type it in every time I want to use it?
> >That's what makefiles and batch files are for.  Otherwise, no.
>
> Sorry if I'm adding noise, but... canīt we also have an environment
> variable CFLAGS with this option set?

    That only works in a makefile, and only with the default rules (unless
you specify it yourself).

--
     -Rolf Campbell (39)3-6318



- Raw text -


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