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: Christopher Faylor <cgf at redhat dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: Christian Joensson <christian at j-son dot org>, gcc <gcc at gcc dot gnu dot org>
- Date: Mon, 1 Mar 2004 10:51:46 -0500
- 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> <2C378FBD-6B58-11D8-A692-000393A6D2F2@physics.uc.edu>
On Mon, Mar 01, 2004 at 12:12:25AM -0800, Andrew Pinski wrote:
>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.
Weird. gcc.c has been like this for a while. It's hard to see how this
ever worked.
cgf