When using a version of GCC that does not support -Wno-long-long as the
bootstrap compiler (such as GCC 2.8.1), it is not possible to build GCC 4.0:

gcc  -I../../gcc-head/libcpp -I. -I../../gcc-head/libcpp/../include
-I../../gcc-head/libcpp/include  -g -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long 
-I../../gcc-head/libcpp -I. -I../../gcc-head/libcpp/../include
-I../../gcc-head/libcpp/include  -c ../../gcc-head/libcpp/charset.c
cc1: Invalid option `-Wno-long-long'
make[1]: *** [charset.o] Error 1
make[1]: Leaving directory `/home/charlet/cvs/gcc-obj/libcpp'
make: *** [all-libcpp] Error 2

-- 
           Summary: Cannot build libcpp due to -Wno-long-long flag
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: charlet at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18875

Reply via email to