🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #54306

gcc -a option

#54306
From: Tammie Nelson
Date: Wed, 05 Dec 1990 20:10
26 lines
1492 bytes

With gcc ported to SCO Unix,  I am interested in using the -a
option of gcc.  This option generates extra code to write profile
information for basic blocks to a file (prog.d)  The tool tcov uses
this file.

When I try to use gcc -a as we currently have gcc built, I get
the message:

  gcc-cc1: warning: `-a' option (basic block profile) not supported

The code generating this message is in toplev.c:

  #if !defined (BLOCK_PROFILER) || !defined (FUNCTION_BLOCK_PROFILER)
	    warning ("`-a' option (basic block profile) not supported");
  #else
	    profile_block_flag = 1;
  #endif

Has anyone successfully defined the flags BLOCK_PROFILER and/or
FUNCTION_BLOCK_PROFILER to get the -a option to work?

thanks,
Tammie Nelson
tnelson@bubba.ma30.bull.com
Technical Details
Message-ID: <TNELSON.90Dec5151024@bubba.ma30.bull.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!peregrine!elroy.jpl.nasa.gov!usc!wuarchive!mit-eddie!bbn.com!mips2!bubba!tnelson

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,66f92a66b31b7a34,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1990-12-06 05:41:25 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!peregrine!elroy.jpl.nasa.gov!usc!wuarchive!mit-eddie!bbn.com!mips2!bubba!tnelson
From: tnelson@bubba.ma30.bull.com (Tammie Nelson)
Newsgroups: gnu.gcc.help
Subject: gcc -a option
Message-ID: <TNELSON.90Dec5151024@bubba.ma30.bull.com>
Date: 5 Dec 90 20:10:24 GMT
Sender: news@mips2.cr.bull.com (Usenet News Manager)
Reply-To: tnelson@bubba.ma30.bull.com
Distribution: gnu
Organization: Bull HN, Worldwide Information Systems, Billerica, Mass., USA
Lines: 26
Posted: Wed Dec  5 21:10:24 1990