Errors Compiling GCC 3.2.2 on Fedora Core4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm having trouble compiling GCC 3.2.2 on Fedora Core 4.

I have untarred the source to:

/export/packages/gcc/gcc3.2.2

I have created the directory

/export/packages/gcc/objdir

I cd into /export/packages/gcc/objdir and type

/export/packages/gcc/gcc3.2.2/configure

and then

make bootstrap

I eventually get the error:

make[2]: Entering directory `/export/packages/gcc/objdir/gcc'
gcc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc-3.2.2/gcc -I../../gcc-3.2.2/gcc/. -I../../gcc-3.2.2/gcc/config -I../../gcc-3.2.2/gcc/../include ../../gcc-3.2.2/gcc/read-rtl.c -o read-rtl.o
In file included from ../../gcc-3.2.2/gcc/read-rtl.c:24:
../../gcc-3.2.2/gcc/rtl.h:125: warning: type of bit-field ‘code’ is a GCC extension ../../gcc-3.2.2/gcc/rtl.h:128: warning: type of bit-field ‘mode’ is a GCC extension
../../gcc-3.2.2/gcc/read-rtl.c: In function ‘fatal_with_file_and_line’:
../../gcc-3.2.2/gcc/read-rtl.c:62: warning: traditional C rejects ISO C style function definitions
../../gcc-3.2.2/gcc/read-rtl.c: In function ‘read_rtx’:
../../gcc-3.2.2/gcc/read-rtl.c:662: error: invalid lvalue in increment
make[2]: *** [read-rtl.o] Error 1
make[2]: Leaving directory `/export/packages/gcc/objdir/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/export/packages/gcc/objdir/gcc'
make: *** [bootstrap] Error 2

I have gcc 4.0.0 installed on teh box too.

Any help would be gratefully received.

Mike


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux