Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!uunet!mcvax!unido!isaak!einstein.uucp!luik
From: luik@einstein.uucp (Andreas Luik)
Newsgroups: gnu.gcc.bug
Subject: Re: what does the -a option do ?
Message-ID: <1191@isaak.UUCP>
Date: 13 Aug 89 16:10:42 GMT
References: <8908042346.AA18438@hub.ucsb.edu>
Sender: news@isaak.UUCP
Distribution: gnu
Organization: ISA GmbH, Stuttgart, West-Germany
Lines: 27

>  [...]
> Now, Using the `-a' option in gcc and g++ (both version 1.35) gives
> 
> cc1: warning: `-a' option (basic block profile) not supported
> 
> c++: `-a' profiling not yet supported in GNU C++
> 
> I would greatly appreciate it if this issue is resolved soon.
> Thanks in advance ... Amante


     -a   Generate extra code to write  profile  information  for
          basic   blocks,   suitable  for  the  analysis  program
          tcov(1).  Eventually GNU gprof(1) should be extended to
          process this data.

This switch is compatible with the -a switch of the SunOS 4.x cc -a switch.
Note, that gcc -a is only supported on Sun-2,-3 and -4 systems.

As I reported before, it does even not work yet (see article <1027@isaak.UUCP>).

Hope this helps,

Andreas Luik                    Domain: luik@isaak.isa.de
ISA GmbH                        UUCP:   luik@isaak.uucp
Azenberstr. 35                  Bang:   ...!uunet!unido!isaak!luik
7000 Stuttgart (West-Germany)   BITNET: luik%isaak.uucp@unido.bitnet