"Dr. David Kirkby" <david.kirkby@xxxxxxxxxx> writes: > I have a problem with complex numbers on Solaris, which I know has > been solved in gcc 4.5, so I thought I'd install gcc 4.5, despite I > know it is only an unstable snapshot. > > A requirement for gcc 4.5 is the mpc library. mpc 0.8.1 builds ok with > gcc 4.4.3 on Solaris 10 (SPARC), but when trying to build the test > suite, so it fails to build (It is not a test failure, but a failure > of the test suite to build). > > Perhaps this is an mpc bug, not a gcc bug, but since gcc 4.5 is going > to need mpc, it is pretty important this issue is resolved. > /usr/local/gcc-4.4.3/lib/gcc/sparc-sun-solaris2.10/4.4.3/include-fixed/sys/feature_tests.h:341:2: > error: #error "Compiler or options invalid for pre-UNIX 03 X/Open > applications and pre-2001 POSIX applications" > So it seems that's impossible to get a working version of mpc, which > means gcc 4.5 can't be built. Please file a bug report about this. This must be fixed one way or another before 4.5 is released. Thanks. Ian