This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/7017: gcc-3.1 does not recognise -a flag
- From: Nicholas Clark <nick at ccl4 dot org>
- To: gcc-gnats at gcc dot gnu dot org
- Date: Thu, 13 Jun 2002 13:09:13 +0100
- Subject: c/7017: gcc-3.1 does not recognise -a flag
>Number: 7017
>Category: c
>Synopsis: gcc-3.1 does not recognise -a flag
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 13 05:16:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Nicholas Clark
>Release: 3.1
>Organization:
>Environment:
System: Linux localhost.localdomain 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /home/nick/src/gcc-3.1/configure --prefix=/usr/local --with-system-zlib
>Description:
cc1 in gcc-3.1 does not recognise the -a option.
The -a option is documented in gcc 3.1's info files.
>How-To-Repeat:
Invoke gcc with -a:
$ /usr/local/bin/gcc -pg -g -a -c hw.c
cc1: unrecognized option `-a'
>Fix:
It may be that -a has been removed, in which case this is actually a
documentation bug, in which case references to -a should be removed
from gcc and gprof's documentation
Else I don't know what the fix is.
>Release-Note:
>Audit-Trail:
>Unformatted: