LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: jackcly

gcc版本太高了

[复制链接]
发表于 2005-11-21 12:51:03 | 显示全部楼层
How big is your gcc-3.3.tar.gz tarball?  If it is over 30MB, then it is the tarball that includes all compilers such as gcc, g++, gcj etc.

As described in the LFS handbook and advised by the gcc developers, it is recommended to build gcc in a separate directory other than the gcc source tree.  Assume you extracted your gcc tarball in /tmp

cd /tmp
tar zxf gcc-3.3.tar.gz
mkdir gcc-build
cd gcc-build
../gcc-3.3/configure --prefix=/opt --libexecdir=/opt/lib --enable-shared --enable-threads=posix --enable-language=c

Does mplayer requires c++ to compile?  If yes, then you may need to use --enable-language=c,c++ in the above.

When finished,

make bootstrap

The purpose of bootstrap is to instruct gcc to compile itself several times to ensure it is free from errors.  (First gcc-3.3, i.e. xgcc1, is compiled by gcc-4.0, then gcc-3.3 compile itself again to produce another gcc-3.3, xgcc2, codes are compared and so on).

This step may take quite long while but it will produce codes that are free from gcc-4.0 influences.

When done, "make install" to install your gcc-3.3.  Finally,

ln -s /opt/bin/gcc /usr/bin/gcc-3.3

then you have finished the gcc-3.3 installation.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-21 19:02:20 | 显示全部楼层
HIHI,d00m3d.
The gcc.tar.gz tarball is about 30M.
I did as u told me ,but it failed when doing the make bootstrap job.


linux:/home/ruby/gcc-build # make bootstrap

make[1]: Entering directory `/home/ruby/gcc-build/libiberty'
if [ x"-fpic" != x ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/regex.c -o pic/regex.o; \
else true; fi
In file included from ../../gcc-3.3/./libiberty/../include/xregex.h:26,
                 from ../../gcc-3.3/./libiberty/regex.c:195:
../../gcc-3.3/./libiberty/../include/xregex2.h:548: warning: ISO C90 does not support ‘static’ or type qualifiers in parameter array declarators
In file included from ../../gcc-3.3/./libiberty/regex.c:649:
../../gcc-3.3/./libiberty/regex.c: In function ‘byte_compile_range’:
../../gcc-3.3/./libiberty/regex.c:4548: warning: signed and unsigned type in conditional expression
../../gcc-3.3/./libiberty/regex.c:4558: warning: signed and unsigned type in conditional expression
../../gcc-3.3/./libiberty/regex.c:4558: warning: signed and unsigned type in conditional expression
../../gcc-3.3/./libiberty/regex.c: In function ‘xregcomp’:
../../gcc-3.3/./libiberty/regex.c:8043: warning: signed and unsigned type in conditional expression
../../gcc-3.3/./libiberty/regex.c: In function ‘xregerror’:
../../gcc-3.3/./libiberty/regex.c:8178: warning: unused parameter ‘preg’
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/regex.c -o regex.o
In file included from ../../gcc-3.3/./libiberty/../include/xregex.h:26,
                 from ../../gcc-3.3/./libiberty/regex.c:195:
../../gcc-3.3/./libiberty/../include/xregex2.h:548: warning: ISO C90 does not support ‘static’ or type qualifiers in parameter array declarators
In file included from ../../gcc-3.3/./libiberty/regex.c:649:
../../gcc-3.3/./libiberty/regex.c: In function ‘byte_compile_range’:
../../gcc-3.3/./libiberty/regex.c:4548: warning: signed and unsigned type in conditional expression
../../gcc-3.3/./libiberty/regex.c:4558: warning: signed and unsigned type in conditional expression
../../gcc-3.3/./libiberty/regex.c:4558: warning: signed and unsigned type in conditional expression
../../gcc-3.3/./libiberty/regex.c: In function ‘xregcomp’:
../../gcc-3.3/./libiberty/regex.c:8043: warning: signed and unsigned type in conditional expression
../../gcc-3.3/./libiberty/regex.c: In function ‘xregerror’:
../../gcc-3.3/./libiberty/regex.c:8178: warning: unused parameter ‘preg’
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/cplus-dem.c -o pic/cplus-dem.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/cplus-dem.c -o cplus-dem.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/cp-demangle.c -o pic/cp-demangle.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/cp-demangle.c -o cp-demangle.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/md5.c -o pic/md5.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/md5.c -o md5.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/alloca.c -o pic/alloca.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/alloca.c -o alloca.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/argv.c -o pic/argv.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/argv.c -o argv.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/choose-temp.c -o pic/choose-temp.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/choose-temp.c -o choose-temp.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/concat.c -o pic/concat.o; \
else true; fi
../../gcc-3.3/./libiberty/concat.c: In function ‘concat_length’:
../../gcc-3.3/./libiberty/concat.c:112: warning: traditional C rejects ISO C style function definitions
../../gcc-3.3/./libiberty/concat.c: In function ‘concat_copy’:
../../gcc-3.3/./libiberty/concat.c:127: warning: traditional C rejects ISO C style function definitions
../../gcc-3.3/./libiberty/concat.c: In function ‘concat_copy2’:
../../gcc-3.3/./libiberty/concat.c:146: warning: traditional C rejects ISO C style function definitions
../../gcc-3.3/./libiberty/concat.c: In function ‘concat’:
../../gcc-3.3/./libiberty/concat.c:157: warning: traditional C rejects ISO C style function definitions
../../gcc-3.3/./libiberty/concat.c: In function ‘reconcat’:
../../gcc-3.3/./libiberty/concat.c:194: warning: traditional C rejects ISO C style function definitions
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/concat.c -o concat.o
../../gcc-3.3/./libiberty/concat.c: In function ‘concat_length’:
../../gcc-3.3/./libiberty/concat.c:112: warning: traditional C rejects ISO C style function definitions
../../gcc-3.3/./libiberty/concat.c: In function ‘concat_copy’:
../../gcc-3.3/./libiberty/concat.c:127: warning: traditional C rejects ISO C style function definitions
../../gcc-3.3/./libiberty/concat.c: In function ‘concat_copy2’:
../../gcc-3.3/./libiberty/concat.c:146: warning: traditional C rejects ISO C style function definitions
../../gcc-3.3/./libiberty/concat.c: In function ‘concat’:
../../gcc-3.3/./libiberty/concat.c:157: warning: traditional C rejects ISO C style function definitions
../../gcc-3.3/./libiberty/concat.c: In function ‘reconcat’:
../../gcc-3.3/./libiberty/concat.c:194: warning: traditional C rejects ISO C style function definitions
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/dyn-string.c -o pic/dyn-string.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/dyn-string.c -o dyn-string.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/fdmatch.c -o pic/fdmatch.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/fdmatch.c -o fdmatch.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/fibheap.c -o pic/fibheap.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/fibheap.c -o fibheap.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/floatformat.c -o pic/floatformat.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/floatformat.c -o floatformat.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/fnmatch.c -o pic/fnmatch.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/fnmatch.c -o fnmatch.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/getopt.c -o pic/getopt.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/getopt.c -o getopt.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/getopt1.c -o pic/getopt1.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/getopt1.c -o getopt1.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/getpwd.c -o pic/getpwd.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/getpwd.c -o getpwd.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/getruntime.c -o pic/getruntime.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/getruntime.c -o getruntime.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/hashtab.c -o pic/hashtab.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/hashtab.c -o hashtab.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/hex.c -o pic/hex.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/hex.c -o hex.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/lbasename.c -o pic/lbasename.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/lbasename.c -o lbasename.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/make-relative-prefix.c -o pic/make-relative-prefix.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/make-relative-prefix.c -o make-relative-prefix.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/make-temp-file.c -o pic/make-temp-file.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/make-temp-file.c -o make-temp-file.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/objalloc.c -o pic/objalloc.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/objalloc.c -o objalloc.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/obstack.c -o pic/obstack.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/obstack.c -o obstack.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/partition.c -o pic/partition.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/partition.c -o partition.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/physmem.c -o pic/physmem.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/physmem.c -o physmem.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/pexecute.c -o pic/pexecute.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/pexecute.c -o pexecute.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/safe-ctype.c -o pic/safe-ctype.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/safe-ctype.c -o safe-ctype.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/sort.c -o pic/sort.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/sort.c -o sort.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/spaces.c -o pic/spaces.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/spaces.c -o spaces.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/splay-tree.c -o pic/splay-tree.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/splay-tree.c -o splay-tree.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/strerror.c -o pic/strerror.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/strerror.c -o strerror.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/strsignal.c -o pic/strsignal.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/strsignal.c -o strsignal.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/ternary.c -o pic/ternary.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/ternary.c -o ternary.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/xatexit.c -o pic/xatexit.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/xatexit.c -o xatexit.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/xexit.c -o pic/xexit.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/xexit.c -o xexit.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/xmalloc.c -o pic/xmalloc.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/xmalloc.c -o xmalloc.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/xmemdup.c -o pic/xmemdup.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/xmemdup.c -o xmemdup.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/xstrdup.c -o pic/xstrdup.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/xstrdup.c -o xstrdup.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/xstrerror.c -o pic/xstrerror.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/xstrerror.c -o xstrerror.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.3/./libiberty/mkstemps.c -o pic/mkstemps.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.3/./libiberty/../include  -W -Wall -Wtraditional -pedantic ../../gcc-3.3/./libiberty/mkstemps.c -o mkstemps.o
rm -f libiberty.a pic/libiberty.a
ar rc libiberty.a \
  regex.o cplus-dem.o cp-demangle.o md5.o alloca.o argv.o choose-temp.o concat.o dyn-string.o fdmatch.o fibheap.o floatformat.o fnmatch.o getopt.o getopt1.o getpwd.o getruntime.o hashtab.o hex.o lbasename.o make-relative-prefix.o make-temp-file.o objalloc.o obstack.o partition.o physmem.o pexecute.o safe-ctype.o sort.o spaces.o splay-tree.o strerror.o strsignal.o ternary.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o  mkstemps.o
ranlib libiberty.a
if [ x"-fpic" != x ]; then \
  cd pic; \
  ar rc libiberty.a \
    regex.o cplus-dem.o cp-demangle.o md5.o alloca.o argv.o choose-temp.o concat.o dyn-string.o fdmatch.o fibheap.o floatformat.o fnmatch.o getopt.o getopt1.o getpwd.o getruntime.o hashtab.o hex.o lbasename.o make-relative-prefix.o make-temp-file.o objalloc.o obstack.o partition.o physmem.o pexecute.o safe-ctype.o sort.o spaces.o splay-tree.o strerror.o strsignal.o ternary.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o  mkstemps.o; \
  ranlib libiberty.a; \
  cd ..; \
else true; fi
rm -f needed-list; touch needed-list; \
for f in atexit calloc memchr memcmp memcpy memmove memset rename strchr strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf vfork waitpid bcmp bcopy bzero; do \
  for g in mkstemps.o ; do \
    case "$g" in \
      *$f*) echo $g >> needed-list ;; \
    esac; \
  done; \
done
echo regex.o cplus-dem.o cp-demangle.o md5.o alloca.o argv.o choose-temp.o concat.o dyn-string.o fdmatch.o fibheap.o floatformat.o fnmatch.o getopt.o getopt1.o getpwd.o getruntime.o hashtab.o hex.o lbasename.o make-relative-prefix.o make-temp-file.o objalloc.o obstack.o partition.o physmem.o pexecute.o safe-ctype.o sort.o spaces.o splay-tree.o strerror.o strsignal.o ternary.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o > required-list
make[2]: Entering directory `/home/ruby/gcc-build/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ruby/gcc-build/libiberty/testsuite'
make[1]: Leaving directory `/home/ruby/gcc-build/libiberty'
make[1]: Entering directory `/home/ruby/gcc-build/zlib'
gcc -DPACKAGE=\"zlib\" -DVERSION=\"1.1.3\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1  -I. -I../../gcc-3.3/./zlib      -g -O2 -c ../../gcc-3.3/./zlib/adler32.c
gcc -DPACKAGE=\"zlib\" -DVERSION=\"1.1.3\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1  -I. -I../../gcc-3.3/./zlib      -g -O2 -c ../../gcc-3.3/./zlib/compress.c
gcc -DPACKAGE=\"zlib\" -DVERSION=\"1.1.3\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1  -I. -I../../gcc-3.3/./zlib      -g -O2 -c ../../gcc-3.3/./zlib/crc32.c
gcc -DPACKAGE=\"zlib\" -DVERSION=\"1.1.3\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1  -I. -I../../gcc-3.3/./zlib      -g -O2 -c ../../gcc-3.3/./zlib/deflate.c
gcc -DPACKAGE=\"zlib\" -DVERSION=\"1.1.3\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1  -I. -I../../gcc-3.3/./zlib      -g -O2 -c ../../gcc-3.3/./zlib/gzio.c
gcc -DPACKAGE=\"zlib\" -DVERSION=\"1.1.3\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1  -I. -I../../gcc-3.3/./zlib      -g -O2 -c ../../gcc-3.3/./zlib/infblock.c
gcc -DPACKAGE=\"zlib\" -DVERSION=\"1.1.3\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1  -I. -I../../gcc-3.3/./zlib      -g -O2 -c ../../gcc-3.3/./zlib/infcodes.c
gcc -DPACKAGE=\"zlib\" -DVERSION=\"1.1.3\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1  -I. -I../../gcc-3.3/./zlib      -g -O2 -c ../../gcc-3.3/./zlib/inffast.c
gcc -DPACKAGE=\"zlib\" -DVERSION=\"1.1.3\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1  -I. -I../../gcc-3.3/./zlib      -g -O2 -c ../../gcc-3.3/./zlib/inflate.c
gcc -DPACKAGE=\"zlib\" -DVERSION=\"1.1.3\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1  -I. -I../../gcc-3.3/./zlib      -g -O2 -c ../../gcc-3.3/./zlib/inftrees.c
gcc -DPACKAGE=\"zlib\" -DVERSION=\"1.1.3\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1  -I. -I../../gcc-3.3/./zlib      -g -O2 -c ../../gcc-3.3/./zlib/infutil.c
gcc -DPACKAGE=\"zlib\" -DVERSION=\"1.1.3\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1  -I. -I../../gcc-3.3/./zlib      -g -O2 -c ../../gcc-3.3/./zlib/trees.c
gcc -DPACKAGE=\"zlib\" -DVERSION=\"1.1.3\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1  -I. -I../../gcc-3.3/./zlib      -g -O2 -c ../../gcc-3.3/./zlib/uncompr.c
gcc -DPACKAGE=\"zlib\" -DVERSION=\"1.1.3\" -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1  -I. -I../../gcc-3.3/./zlib      -g -O2 -c ../../gcc-3.3/./zlib/zutil.c
rm -f libz.a
ar cru libz.a adler32.o compress.o crc32.o deflate.o gzio.o infblock.o infcodes.o inffast.o inflate.o inftrees.o infutil.o trees.o uncompr.o zutil.o
ranlib libz.a
: make ; exec true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -g -O2" "INSTALL=/bin/sh /home/ruby/gcc-3.3/install-sh -c" "INSTALL_DATA=/bin/sh /home/ruby/gcc-3.3/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /home/ruby/gcc-3.3/install-sh -c " "INSTALL_SCRIPT=/bin/sh /home/ruby/gcc-3.3/install-sh -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2" "MAKE=make" "MAKEINFO=/home/ruby/gcc-3.3/missing makeinfo --no-split " "ICFLAG=" "ICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/opt" "infodir=/opt/info" "libdir=/opt/lib" "prefix=/opt" "tooldir=/opt/i686-pc-linux-gnu" "AR=ar" "AS=as" "CC=gcc" "CXX=c++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "ICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do
make[1]: Leaving directory `/home/ruby/gcc-build/zlib'
Bootstrapping the compiler
make[1]: Entering directory `/home/ruby/gcc-build/gcc'
make CC="gcc" libdir=/opt/lib LANGUAGES="c " \
        CFLAGS="-g " MAKEINFO="/home/ruby/gcc-3.3/missing makeinfo --no-split" \
        MAKEINFOFLAGS="" COVERAGE_FLAGS=
make[2]: Entering directory `/home/ruby/gcc-build/gcc'
TM_DEFINES="" \
HEADERS="auto-host.h ansidecl.h  i386/i386.h i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h defaults.h" XM_DEFINES="OSIX" \
TARGET_CPU_DEFAULT="TARGET_CPU_DEFAULT_pentiumpro" \
/bin/sh ../../gcc-3.3/./gcc/mkconfig.sh config.h
TM_DEFINES="" \
HEADERS="auto-host.h ansidecl.h  i386/i386.h i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h defaults.h" XM_DEFINES="OSIX" \
TARGET_CPU_DEFAULT="TARGET_CPU_DEFAULT_pentiumpro" \
/bin/sh ../../gcc-3.3/./gcc/mkconfig.sh hconfig.h
gcc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc-3.3/./gcc -I../../gcc-3.3/./gcc/. -I../../gcc-3.3/./gcc/config -I../../gcc-3.3/./gcc/../include ../../gcc-3.3/./gcc/gengenrtl.c -o gengenrtl.o
In file included from ../../gcc-3.3/./gcc/gengenrtl.c:26:
../../gcc-3.3/./gcc/rtl.h:132: warning: type of bit-field ‘code’ is a GCC extension
../../gcc-3.3/./gcc/rtl.h:135: warning: type of bit-field ‘mode’ is a GCC extension
In file included from ../../gcc-3.3/./gcc/gengenrtl.c:29:
../../gcc-3.3/./gcc/real.h:45: warning: type of bit-field ‘class’ is a GCC extension
gcc   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE  -o gengenrtl \
gengenrtl.o ../libiberty/libiberty.a
./gengenrtl -h > tmp-genrtl.h
/bin/sh ../../gcc-3.3/./gcc/move-if-change tmp-genrtl.h genrtl.h
./gengenrtl > tmp-genrtl.c
/bin/sh ../../gcc-3.3/./gcc/move-if-change tmp-genrtl.c genrtl.c
echo timestamp > s-genrtl
gcc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc-3.3/./gcc -I../../gcc-3.3/./gcc/. -I../../gcc-3.3/./gcc/config -I../../gcc-3.3/./gcc/../include ../../gcc-3.3/./gcc/genflags.c -o genflags.o
In file included from ../../gcc-3.3/./gcc/genflags.c:27:
../../gcc-3.3/./gcc/rtl.h:132: warning: type of bit-field ‘code’ is a GCC extension
../../gcc-3.3/./gcc/rtl.h:135: warning: type of bit-field ‘mode’ is a GCC extension
echo "/* This file is machine generated.  Do not edit.  */" > tmp-gtyp.h
echo "static const char *srcdir = "  >> tmp-gtyp.h
echo "\"../../gcc-3.3/./gcc\"" >> tmp-gtyp.h
echo ";" >> tmp-gtyp.h
echo "static const char *lang_files[] = {" >> tmp-gtyp.h
ll="../../gcc-3.3/./gcc/cp/cp-tree.h  ../../gcc-3.3/./gcc/cp/decl.h  ../../gcc-3.3/./gcc/cp/lex.h  ../../gcc-3.3/./gcc/cp/call.c  ../../gcc-3.3/./gcc/cp/decl.c  ../../gcc-3.3/./gcc/cp/decl2.c  ../../gcc-3.3/./gcc/cp/parse.y  ../../gcc-3.3/./gcc/cp/pt.c  ../../gcc-3.3/./gcc/cp/repo.c  ../../gcc-3.3/./gcc/cp/spew.c  ../../gcc-3.3/./gcc/cp/tree.c  ../../gcc-3.3/./gcc/c-common.c  ../../gcc-3.3/./gcc/c-common.h  ../../gcc-3.3/./gcc/c-pragma.c  ../../gcc-3.3/./gcc/f/com.c  ../../gcc-3.3/./gcc/f/com.h  ../../gcc-3.3/./gcc/f/ste.c  ../../gcc-3.3/./gcc/f/where.h  ../../gcc-3.3/./gcc/f/where.c  ../../gcc-3.3/./gcc/f/lex.c  ../../gcc-3.3/./gcc/java/java-tree.h  ../../gcc-3.3/./gcc/java/builtins.c  ../../gcc-3.3/./gcc/java/class.c  ../../gcc-3.3/./gcc/java/constants.c  ../../gcc-3.3/./gcc/java/decl.c  ../../gcc-3.3/./gcc/java/expr.c  ../../gcc-3.3/./gcc/java/jcf-parse.c  ../../gcc-3.3/./gcc/java/jcf-write.c  ../../gcc-3.3/./gcc/java/lang.c  ../../gcc-3.3/./gcc/java/mangle.c  ../../gcc-3.3/./gcc/java/parse.y  ../../gcc-3.3/./gcc/objc/objc-act.h  ../../gcc-3.3/./gcc/c-parse.in  ../../gcc-3.3/./gcc/c-tree.h  ../../gcc-3.3/./gcc/c-decl.c  ../../gcc-3.3/./gcc/c-objc-common.c  ../../gcc-3.3/./gcc/c-common.c  ../../gcc-3.3/./gcc/c-common.h  ../../gcc-3.3/./gcc/c-pragma.c  ../../gcc-3.3/./gcc/c-parse.in  ../../gcc-3.3/./gcc/c-lang.c  ../../gcc-3.3/./gcc/c-parse.in  ../../gcc-3.3/./gcc/c-tree.h  ../../gcc-3.3/./gcc/c-decl.c  ../../gcc-3.3/./gcc/c-common.c  ../../gcc-3.3/./gcc/c-common.h  ../../gcc-3.3/./gcc/c-pragma.c  ../../gcc-3.3/./gcc/c-objc-common.c "; \
for f in $ll; do \
echo "\"$f\", "; done >> tmp-gtyp.h
echo "NULL};" >> tmp-gtyp.h
echo "static const char *langs_for_lang_files[] = {" >> tmp-gtyp.h
ff="cp  cp  cp  cp  cp  cp  cp  cp  cp  cp  cp  cp  cp  cp  f  f  f  f  f  f  java  java  java  java  java  java  java  java  java  java  java  objc  objc  objc  objc  objc  objc  objc  objc  objc  c  c  c  c  c  c  c  c "; \
for f in $ff; do \
echo "\"$f\", " ; done  >> tmp-gtyp.h
echo "NULL};" >> tmp-gtyp.h
echo "static const char *all_files[] = {" >> tmp-gtyp.h
gf="config.h auto-host.h ../../gcc-3.3/./gcc/../include/ansidecl.h ../../gcc-3.3/./gcc/config/i386/i386.h ../../gcc-3.3/./gcc/config/i386/unix.h ../../gcc-3.3/./gcc/config/i386/att.h ../../gcc-3.3/./gcc/config/dbxelf.h ../../gcc-3.3/./gcc/config/elfos.h ../../gcc-3.3/./gcc/config/svr4.h ../../gcc-3.3/./gcc/config/linux.h ../../gcc-3.3/./gcc/config/i386/linux.h ../../gcc-3.3/./gcc/defaults.h ../../gcc-3.3/./gcc/defaults.h ../../gcc-3.3/./gcc/location.h ../../gcc-3.3/./gcc/../include/hashtab.h ../../gcc-3.3/./gcc/bitmap.h ../../gcc-3.3/./gcc/function.h  ../../gcc-3.3/./gcc/rtl.h ../../gcc-3.3/./gcc/optabs.h ../../gcc-3.3/./gcc/tree.h ../../gcc-3.3/./gcc/libfuncs.h ../../gcc-3.3/./gcc/hashtable.h ../../gcc-3.3/./gcc/real.h ../../gcc-3.3/./gcc/varray.h ../../gcc-3.3/./gcc/ssa.h ../../gcc-3.3/./gcc/insn-addr.h ../../gcc-3.3/./gcc/cselib.h ../../gcc-3.3/./gcc/c-common.h ../../gcc-3.3/./gcc/c-tree.h ../../gcc-3.3/./gcc/basic-block.h ../../gcc-3.3/./gcc/alias.c ../../gcc-3.3/./gcc/bitmap.c ../../gcc-3.3/./gcc/cselib.c ../../gcc-3.3/./gcc/dwarf2out.c ../../gcc-3.3/./gcc/emit-rtl.c ../../gcc-3.3/./gcc/except.c ../../gcc-3.3/./gcc/explow.c ../../gcc-3.3/./gcc/expr.c ../../gcc-3.3/./gcc/fold-const.c ../../gcc-3.3/./gcc/function.c ../../gcc-3.3/./gcc/gcse.c ../../gcc-3.3/./gcc/integrate.c ../../gcc-3.3/./gcc/lists.c ../../gcc-3.3/./gcc/optabs.c ../../gcc-3.3/./gcc/profile.c ../../gcc-3.3/./gcc/ra-build.c ../../gcc-3.3/./gcc/regclass.c ../../gcc-3.3/./gcc/reg-stack.c ../../gcc-3.3/./gcc/sdbout.c ../../gcc-3.3/./gcc/stmt.c ../../gcc-3.3/./gcc/stor-layout.c ../../gcc-3.3/./gcc/tree.c ../../gcc-3.3/./gcc/varasm.c ../../gcc-3.3/./gcc/config/i386/i386.c ../../gcc-3.3/./gcc/cp/cp-tree.h ../../gcc-3.3/./gcc/cp/decl.h ../../gcc-3.3/./gcc/cp/lex.h ../../gcc-3.3/./gcc/cp/call.c ../../gcc-3.3/./gcc/cp/decl.c ../../gcc-3.3/./gcc/cp/decl2.c ../../gcc-3.3/./gcc/cp/parse.y ../../gcc-3.3/./gcc/cp/pt.c ../../gcc-3.3/./gcc/cp/repo.c ../../gcc-3.3/./gcc/cp/spew.c ../../gcc-3.3/./gcc/cp/tree.c ../../gcc-3.3/./gcc/c-common.c ../../gcc-3.3/./gcc/c-common.h ../../gcc-3.3/./gcc/c-pragma.c ../../gcc-3.3/./gcc/f/com.c ../../gcc-3.3/./gcc/f/com.h ../../gcc-3.3/./gcc/f/ste.c ../../gcc-3.3/./gcc/f/where.h ../../gcc-3.3/./gcc/f/where.c ../../gcc-3.3/./gcc/f/lex.c ../../gcc-3.3/./gcc/java/java-tree.h ../../gcc-3.3/./gcc/java/builtins.c ../../gcc-3.3/./gcc/java/class.c ../../gcc-3.3/./gcc/java/constants.c ../../gcc-3.3/./gcc/java/decl.c ../../gcc-3.3/./gcc/java/expr.c ../../gcc-3.3/./gcc/java/jcf-parse.c ../../gcc-3.3/./gcc/java/jcf-write.c ../../gcc-3.3/./gcc/java/lang.c ../../gcc-3.3/./gcc/java/mangle.c ../../gcc-3.3/./gcc/java/parse.y ../../gcc-3.3/./gcc/objc/objc-act.h ../../gcc-3.3/./gcc/c-parse.in ../../gcc-3.3/./gcc/c-tree.h ../../gcc-3.3/./gcc/c-decl.c ../../gcc-3.3/./gcc/c-objc-common.c ../../gcc-3.3/./gcc/c-common.c ../../gcc-3.3/./gcc/c-common.h ../../gcc-3.3/./gcc/c-pragma.c ../../gcc-3.3/./gcc/c-parse.in ../../gcc-3.3/./gcc/c-lang.c ../../gcc-3.3/./gcc/c-parse.in ../../gcc-3.3/./gcc/c-tree.h ../../gcc-3.3/./gcc/c-decl.c ../../gcc-3.3/./gcc/c-common.c ../../gcc-3.3/./gcc/c-common.h ../../gcc-3.3/./gcc/c-pragma.c ../../gcc-3.3/./gcc/c-objc-common.c"; \
for f in $gf; do \
echo "\"$f\", "; done >> tmp-gtyp.h
echo " NULL};" >> tmp-gtyp.h
echo "static const char *lang_dir_names[] = { \"c\", " >> tmp-gtyp.h
gf="cp f java objc"; \
for l in $gf; do \
echo "\"$l\", "; done >> tmp-gtyp.h
echo "NULL};" >> tmp-gtyp.h
/bin/sh ../../gcc-3.3/./gcc/move-if-change tmp-gtyp.h gtyp-gen.h
gcc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc-3.3/./gcc -I../../gcc-3.3/./gcc/. -I../../gcc-3.3/./gcc/config -I../../gcc-3.3/./gcc/../include \
  ../../gcc-3.3/./gcc/gengtype.c -o gengtype.o
../../gcc-3.3/./gcc/gengtype.c: In function ‘error_at_line’:
../../gcc-3.3/./gcc/gengtype.c:38: warning: traditional C rejects ISO C style function definitions
../../gcc-3.3/./gcc/gengtype.c: In function ‘xasprintf’:
../../gcc-3.3/./gcc/gengtype.c:70: warning: traditional C rejects ISO C style function definitions
../../gcc-3.3/./gcc/gengtype.c: In function ‘oprintf’:
../../gcc-3.3/./gcc/gengtype.c:1075: warning: traditional C rejects ISO C style function definitions
gcc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc-3.3/./gcc -I../../gcc-3.3/./gcc/. -I../../gcc-3.3/./gcc/config -I../../gcc-3.3/./gcc/../include \
  ../../gcc-3.3/./gcc/gengtype-lex.c -o gengtype-lex.o
gcc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc-3.3/./gcc -I../../gcc-3.3/./gcc/. -I../../gcc-3.3/./gcc/config -I../../gcc-3.3/./gcc/../include \
  ../../gcc-3.3/./gcc/gengtype-yacc.c -o gengtype-yacc.o
gcc   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE  -o gengtype \
gengtype.o gengtype-lex.o gengtype-yacc.o ../libiberty/libiberty.a
./gengtype
warning: structure `JCF' used but not defined
warning: structure `CPool' used but not defined
warning: structure `reg_info_def' used but not defined
warning: structure `die_struct' used but not defined
warning: structure `basic_block_def' used but not defined
echo timestamp > s-gtype
gcc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc-3.3/./gcc -I../../gcc-3.3/./gcc/. -I../../gcc-3.3/./gcc/config -I../../gcc-3.3/./gcc/../include ../../gcc-3.3/./gcc/rtl.c -o rtl.o
In file included from ../../gcc-3.3/./gcc/rtl.c:24:
../../gcc-3.3/./gcc/rtl.h:132: warning: type of bit-field ‘code’ is a GCC extension
../../gcc-3.3/./gcc/rtl.h:135: warning: type of bit-field ‘mode’ is a GCC extension
In file included from ../../gcc-3.3/./gcc/rtl.c:25:
../../gcc-3.3/./gcc/real.h:45: warning: type of bit-field ‘class’ is a GCC extension
gcc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc-3.3/./gcc -I../../gcc-3.3/./gcc/. -I../../gcc-3.3/./gcc/config -I../../gcc-3.3/./gcc/../include ../../gcc-3.3/./gcc/read-rtl.c -o read-rtl.o
In file included from ../../gcc-3.3/./gcc/read-rtl.c:24:
../../gcc-3.3/./gcc/rtl.h:132: warning: type of bit-field ‘code’ is a GCC extension
../../gcc-3.3/./gcc/rtl.h:135: warning: type of bit-field ‘mode’ is a GCC extension
../../gcc-3.3/./gcc/read-rtl.c: In function ‘fatal_with_file_and_line’:
../../gcc-3.3/./gcc/read-rtl.c:53: warning: traditional C rejects ISO C style function definitions
../../gcc-3.3/./gcc/read-rtl.c: In function ‘read_rtx’:
../../gcc-3.3/./gcc/read-rtl.c:653: error: invalid lvalue in increment
make[2]: *** [read-rtl.o] 错误 1
make[2]: Leaving directory `/home/ruby/gcc-build/gcc'
make[1]: *** [stage1_build] 错误 2
make[1]: Leaving directory `/home/ruby/gcc-build/gcc'
make: *** [bootstrap] 错误 2
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-21 19:04:30 | 显示全部楼层
Hope that it does not irritate u guys~~~
回复 支持 反对

使用道具 举报

发表于 2005-11-21 21:58:31 | 显示全部楼层
Not sure what's wrong with your system.  I have experienced to compile gcc-3.3.5 with gcc-4.0.

Do you use any CFLAGS or CXXFLAGS?  If yes, try to unset them.

Maybe you can try again with newer gcc-3.3, say 3.3.5 or 3.3.6.

Last resort, use the LFS LiveCD as the host to compile a static version of gcc-3.3 and installed it to your system.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-21 22:22:18 | 显示全部楼层
It seems there is still a long way for me to go ...
Anyway ,thanks a lot.
Dear d00m3d :-),i really appreciate your sincere help here.
回复 支持 反对

使用道具 举报

发表于 2005-11-21 22:33:12 | 显示全部楼层
For your information, it is possible to use the -j option to enable parallel compiling such that you may shorten the build time.  So you may consider to use:

make -j4 bootstrap

This will enable 4 parallel compiling jobs at the same time so that your total compilation time can be reduced.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-22 11:13:06 | 显示全部楼层
After added the para '-j4' in the 'make bootstrap', gcc-3.3.6 has been successfully installed.Thank u  d00m3d.
回复 支持 反对

使用道具 举报

发表于 2005-11-22 12:42:30 | 显示全部楼层
Good.
回复 支持 反对

使用道具 举报

发表于 2005-11-29 12:19:49 | 显示全部楼层
看不懂,谁能讲得清楚一点,我的也是这个问题,
回复 支持 反对

使用道具 举报

发表于 2005-11-29 12:30:42 | 显示全部楼层
In file included from ../../gcc-3.4.4/libiberty/../include/xregex.h:26,
                 from ../../gcc-3.4.4/libiberty/regex.c:195:
../../gcc-3.4.4/libiberty/../include/xregex2.h:548: warning: ISO C90 does not support ‘static’ or type qualifiers in parameter array declarators
In file included from ../../gcc-3.4.4/libiberty/regex.c:649:
../../gcc-3.4.4/libiberty/regex.c: In function ‘byte_compile_range’:
../../gcc-3.4.4/libiberty/regex.c:4548: warning: signed and unsigned type in conditional expression
../../gcc-3.4.4/libiberty/regex.c:4558: warning: signed and unsigned type in conditional expression
../../gcc-3.4.4/libiberty/regex.c:4558: warning: signed and unsigned type in conditional expression
../../gcc-3.4.4/libiberty/regex.c: In function ‘xregcomp’:
../../gcc-3.4.4/libiberty/regex.c:8043: warning: signed and unsigned type in conditional expression
../../gcc-3.4.4/libiberty/regex.c: In function ‘xregerror’:
../../gcc-3.4.4/libiberty/regex.c:8178: warning: unused parameter ‘preg’
Assembler messages:
FATAL: can't create pic/regex.o: 没有那个文件或目录
make[1]: *** [regex.o] 错误 1
make[1]: Leaving directory `/home/zz/download/gcc-build/libiberty'
make: *** [all-libiberty] 错误 2
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表