www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/12/08:56:19

Date: Wed, 12 Sep 2001 15:49:50 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: Alex Vinokur <alexvn AT bigfoot DOT com>
Message-Id: <2110-Wed12Sep2001154950+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <3B9F177B.F890FFB8@bigfoot.com> (message from Alex Vinokur on
Wed, 12 Sep 2001 10:06:20 +0200)
Subject: Re: gpp & Option -A : Usage and Compilation
References: <3B9F177B DOT F890FFB8 AT bigfoot DOT com>
Reply-To: djgpp AT delorie 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

> From: Alex Vinokur <alexvn AT bigfoot DOT com>
> Newsgroups: comp.os.msdos.djgpp
> Date: Wed, 12 Sep 2001 10:06:20 +0200
> 
> Option -A :
> -A<question> (<answer>)   Assert the <answer> to <question>
> 
> 1. What is option -A used for?
>    Any sample?

It's in the GCC docs, type "info gcc Invoking Preprocessor" from the
shell prompt, and read there.

> 2. Ho to compile with that option?
> 
> Here is what I have got :
> 
> %gpp -A"abc" main.c
> *Initialization*:1: missing token-sequence in `#assert'
> 
> 
> %gpp -Aabc main.c
> *Initialization*:1: missing token-sequence in `#assert'

Try "gpp Asystem=msdos main.c".

- Raw text -


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