www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/07/28/16:32:57

Date: Wed, 28 Jul 1999 22:01:05 +0200
To: pgcc AT delorie DOT com
Subject: Re: how do I use the precompile switch of gcc?
Message-ID: <19990728220105.G258@cerebro.laendle>
Mail-Followup-To: pgcc AT delorie DOT com
References: <002e01bed8ac$730da080$72327cc8 AT edwina DOT sc DOT mcel DOT mot DOT com>
Mime-Version: 1.0
In-Reply-To: <002e01bed8ac$730da080$72327cc8@edwina.sc.mcel.mot.com>; from edwina lu on Wed, Jul 28, 1999 at 11:51:17AM +0800
X-Operating-System: Linux version 2.2.10 (root AT cerebro) (gcc driver version egcs-2.91.66 19990314 (egcs-1.1.2 release) executing gcc version 2.7.2.3)
From: Marc Lehmann <pcg AT goof DOT com>
Reply-To: pgcc AT delorie DOT com
X-Mailing-List: pgcc AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, Jul 28, 1999 at 11:51:17AM +0800, edwina lu <edwinal AT nj DOT sc DOT mcel DOT mot DOT com> wrote:
> Hi, Sir:

>     I am confused by a gcc precompile problem for a few days. It seems

gcc does not support precompilation. However, you probably mean
"preprocessing".

>     this web has a lot experts on gcc. So could you help me?  My
>     problem is : I wanna get a precompiled file that has no ifdef and
>     expression. But if I use gcc -E I only get a file has no ifdef but
>     still has expression in const and enum.

These symbols are no preprocessor macros (and as such don't get expanded).

Please note that a forum like news://comp.lang.c is much better suited for
basic c language questions.

HTH,

--  
      -----==-                                             |
      ----==-- _                                           |
      ---==---(_)__  __ ____  __       Marc Lehmann      +--
      --==---/ / _ \/ // /\ \/ /       pcg AT goof DOT com      |e|
      -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
    The choice of a GNU generation                       |
                                                         |

- Raw text -


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