This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Can't build gcc 3.4.0 20040301 on cygwin: gcc.c:3661: error: assignment of read-only location


Windows XP/Pro SP1 cygwin P4 system with these packages:

binutils             20030901-1	    2.14.90 20030901
bison                20030307-1	    1.875b
cygwin               1.5.7-1
dejagnu              20021217-2	    1.4.2.x
gawk                 3.1.3-4
gcc                  3.3.1-3
w32api               2.5-1

LAST_UPDATED: Mon Mar  1 06:35:21 UTC 2004

configure  pentium4-cygwin --prefix=/usr/local/gcc-binutils --enable-shared --enable-threads=posix --with-system-zlib --enable-libgcj

stage1/xgcc.exe -Bstage1/ -B/usr/local/gcc-binutils/pentium4-cygwin/bin/   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition   -Wno-error  -DHAVE_CONFIG_H    -I. -I. -I/usr/local/src/branch/gcc/gcc -I/usr/local/src/branch/gcc/gcc/. -I/usr/local/src/branch/gcc/gcc/../include  \
  -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/usr/local/gcc-binutils/lib/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/usr/local/gcc-binutils/libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"3.4.0\" -DDEFAULT_TARGET_MACHINE=\"pentium4-cygwin\" -DSTANDARD_BINDIR_PREFIX=\"/usr/local/gcc-binutils/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\"  `test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \
  -c /usr/local/src/branch/gcc/gcc/gcc.c -o gcc.o)
/usr/local/src/branch/gcc/gcc/gcc.c:903: warning: string length `529' is greater than the length `509' ISO C89 compilers are required to support
/usr/local/src/branch/gcc/gcc/gcc.c:921: warning: string length `608' is greater than the length `509' ISO C89 compilers are required to support
In file included from ./specs.h:4,
                 from /usr/local/src/branch/gcc/gcc/gcc.c:954:
/usr/local/src/branch/gcc/gcc/objc/lang-specs.h:27: warning: string length `603' is greater than the length `509' ISO C89 compilers are required to support
/usr/local/src/branch/gcc/gcc/objc/lang-specs.h:42: warning: string length `783' is greater than the length `509' ISO C89 compilers are required to support
/usr/local/src/branch/gcc/gcc/gcc.c:1503: warning: string length `833' is greater than the length `509' ISO C89 compilers are required to support
/usr/local/src/branch/gcc/gcc/gcc.c: In function `process_command':
/usr/local/src/branch/gcc/gcc/gcc.c:3661: error: assignment of read-only location
/usr/local/src/branch/gcc/gcc/gcc.c:3663: error: assignment of read-only location
make[2]: *** [gcc.o] Error 1
make[2]: Leaving directory `/usr/local/src/branch/objdir/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/usr/local/src/branch/objdir/gcc'
make: *** [bootstrap-lean] Error 2

Cheers,

/ChJ


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]