This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Can't build gcc 3.4.0 20040301 on cygwin: gcc.c:3661: error: assignment of read-only location
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Christian Joensson <christian at j-son dot org>
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>, gcc <gcc at gcc dot gnu dot org>
- Date: Mon, 1 Mar 2004 00:12:25 -0800
- Subject: Re: Can't build gcc 3.4.0 20040301 on cygwin: gcc.c:3661: error: assignment of read-only location
- References: <20040301080538.GA3188@Luddes>
This is a bug in gcc.c.
Basically argv is declared as const but is changeable if
HAVE_TARGET_EXECUTABLE_SUFFIX or HAVE_TARGET_OBJECT_SUFFIX are defined.
Please file a bug with this analysis.
Thanks,
Andrew Pinski