This is the mail archive of the gcc-help@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]

gcc 3.0 won't compile


Dear gcc-help,

I downloaded gcc-everything-3.0 from ftp.gnu.org/pub/gnu/gcc/gcc-3.0
I gunzipped and untared the file into the directory /temp/gcc-3.0
I typed mkdir /temp/objdir
	cd /temp/objdir
	configure
	make bootstrap
I am currently running Mandrake 8.0 with gcc-2.96-0.48.mdk
					 binutils-2.10.1.0.2-4mdk
					 glibc-2.2.2-4mdk
I am running on an AMD Thunderbird

I really don't know what I need to get this to work.
Help would be greatly appreciated.

Thanks,
Dave Goetz

The last of the output from make bootstrap is as follows:

cc-3.0/libstdc++-v3/include -I/temp/gcc-3.0/libstdc++-v3/include/std
-I/temp/gcc-3.0/libstdc++-v3/include/c_std -I../incl
ude -I/temp/gcc-3.0/libstdc++-v3/libsupc++ -g -O2 -D_GNU_SOURCE
-fno-implicit-templates -Wall -Wno-format -W -Wwrite-stri
ngs -Winline -fdiagnostics-show-location=once -ffunction-sections
-fdata-sections -g -c /temp/gcc-3.0/libstdc++-v3/libsup
c++/eh_alloc.cc  -fPIC -DPIC -o eh_alloc.o
In file included from /temp/gcc-3.0/libstdc++-v3/libsupc++/eh_alloc.cc:39:
../include/bits/gthr.h:29:2: invalid preprocessing directive
#_GLIBCPP_ifndef
../include/bits/gthr.h:30:2: invalid preprocessing directive
#_GLIBCPP_define
../include/bits/gthr.h:84:2: invalid preprocessing directive #_GLIBCPP_if
../include/bits/gthr.h:85:2: invalid preprocessing directive
#_GLIBCPP_include
../include/bits/gthr.h:86:2: invalid preprocessing directive
#_GLIBCPP_elif
../include/bits/gthr.h:87:2: invalid preprocessing directive
#_GLIBCPP_include
../include/bits/gthr.h:88:2: invalid preprocessing directive
#_GLIBCPP_elif
../include/bits/gthr.h:89:2: invalid preprocessing directive
#_GLIBCPP_include
../include/bits/gthr.h:92:2: invalid preprocessing directive
#_GLIBCPP_elif
../include/bits/gthr.h:93:2: invalid preprocessing directive #_GLIBCPP_if
../include/bits/gthr.h:94:2: invalid preprocessing directive
#_GLIBCPP_ifndef
../include/bits/gthr.h:95:2: invalid preprocessing directive
#_GLIBCPP_define
../include/bits/gthr.h:96:2: invalid preprocessing directive
#_GLIBCPP_endif
../include/bits/gthr.h:97:2: invalid preprocessing directive
#_GLIBCPP_endif
../include/bits/gthr.h:98:2: invalid preprocessing directive
#_GLIBCPP_include
../include/bits/gthr.h:101:2: invalid preprocessing directive
#_GLIBCPP_else
../include/bits/gthr.h:102:2: invalid preprocessing directive
#_GLIBCPP_include
../include/bits/gthr.h:103:2: invalid preprocessing directive
#_GLIBCPP_endif
../include/bits/gthr.h:105:2: invalid preprocessing directive
#_GLIBCPP_endif
make[4]: *** [eh_alloc.lo] Error 1
make[4]: Leaving directory
`/temp/objdir/i686-pc-linux-gnu/libstdc++-v3/libsupc++'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/temp/objdir/i686-pc-linux-gnu/libstdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/temp/objdir/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/temp/objdir'
make: *** [bootstrap] Error 2


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