This is pickiness on the part of gcc4.0x. I use 3.2.3
Garst
C-Labs Company User wrote:
A new (this morning CET) rebuild of MSPGCC toolchain solved the programming
problem with FET, gdb still doesn't compile under SuSE 10.0 (see details on
compiler).
Error log follows.
-----------------------------------------8<----------------------------------------------
gcc -c -g -O2 -I. -I. -I./config -DLOCALEDIR="\"/opt/mspgcc/share/locale\""
-
DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd
-I.
/../include -I../intl -I./../intl -DMI_OUT=1 -Wimplicit -Wreturn-type
-Wcomment
-Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized
gdbtypes.c
gdbtypes.c: In function ‘recursive_dump_type’:
gdbtypes.c:3059: error: invalid lvalue in increment
make[2]: *** [gdbtypes.o] Error 1
make[2]: Leaving directory
`/home/clabs/Download/MSPGCC/Linux/packaging/build/gd
b-6.0/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory
`/home/clabs/Download/MSPGCC/Linux/packaging/build/gd
b-6.0'
-----------------------------------------8<----------------------------------------------
GCC details (gcc -v):
Target: i586-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib
--enable-languages=c,c++,objc,f95,java,ada --disable-checking
--with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-java-awt=gtk
--disable-libjava-multilib --with-slibdir=/lib --with-system-zlib
--enable-shared --enable-__cxa_atexit --without-system-libunwind
--host=i586-suse-linux
Thread model: posix
gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)
Suggestions? (may be some obscure option of gcc?)