building gcc-3.2.2
Posted: Thu Dec 16, 2004 1:12 pm
I am trying to build gcc-3.2.2 with cygwin.
I have checked it out from ps2dev.org.
I then ran "./configure".
Then "make".
I now get this error:
gcc.c: In function `process_command':
gcc.c:3735: error: assignment of read-only location
gcc.c:3737: error: assignment of read-only location
line 3735 looks like this (line 3737 is similar):
argv[i + 1] = convert_filename (argv[i + 1], ! have_c, 0);
It is trying to assign to argv when argv is defined as:
const char *const *argv
Am I doing this correctly? I believe what is on ps2dev is gcc with the ps2 patches applied. I assume this means I do not need the toolchain.sh script. Is this correct?
Anybody else get this error?
I have checked it out from ps2dev.org.
I then ran "./configure".
Then "make".
I now get this error:
gcc.c: In function `process_command':
gcc.c:3735: error: assignment of read-only location
gcc.c:3737: error: assignment of read-only location
line 3735 looks like this (line 3737 is similar):
argv[i + 1] = convert_filename (argv[i + 1], ! have_c, 0);
It is trying to assign to argv when argv is defined as:
const char *const *argv
Am I doing this correctly? I believe what is on ps2dev is gcc with the ps2 patches applied. I assume this means I do not need the toolchain.sh script. Is this correct?
Anybody else get this error?