This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
A trouble with installation of gcc 3.0.4
- From: "Orson Lee" <orson_lee at hotmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 14 Mar 2002 17:47:45 +0800
- Subject: A trouble with installation of gcc 3.0.4
- Bcc:
Hi, I downloaded gcc 3.0.4 full distributions to install. My machine have a
Pentium III CPU and OS is SCO OpenServer 5.0.6. I have installed SCO
OpenServer Development System in this machine and set environment variable
CC in .profile like follow:
CC=/bin/cc
export CC
I made a directory /gcc as installation toplevel directory, and made a
directory /gcc/gccobj as obj directory, tar gcc-3.0.4.tar into
/gcc/gcc-3.0.4, then began to configure:
# cd /gcc/gccobj
# /gcc/gcc-3.0.4/configure
Configure completed successfully, then I began to build:
# make bootstrap
The command stoped running with follow error message:
true "AR_FLAGS=rc" "CC_FOR_BUILD=/bin/cc" "CFLAGS=-g"
"CXXFLAGS=-g -O
2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-g" "INSTALL=/bin/sh
/gcc/gcc-3.0.4
/install-sh -c" "INSTALL_DATA=/bin/sh /gcc/gcc-3.0.4/install-sh -c -m 644"
"IN
STALL_PROGRAM=/bin/sh /gcc/gcc-3.0.4/install-sh -c "
"INSTALL_SCRIPT=/bin/sh /g
cc/gcc-3.0.4/install-sh -c" "LDFLAGS=" "LIBCFLAGS=-g"
"LIBCFLAGS_FOR_TARGET=-
g" "MAKE=make" "MAKEINFO=makeinfo " "PICFLAG=" "PICFLAG_FOR_TARGET="
"SHEL
L=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS="
"exec_prefix=/u
sr/local" "infodir=/usr/local/info" "libdir=/usr/local/lib"
"prefix=/usr/loca
l" "tooldir=/usr/local/i686-pc-sco3.2v5.0.6" "AR=ar" "AS=as"
"CC=/bin/cc" "
CXX=c++" "LD=ld" "LIBCFLAGS=-g" "NM=nm" "PICFLAG=" "RANLIB=true"
"DESTDIR=
" DO=all multi-do
Bootstrapping the compiler
make CC="stage1/xgcc -Bstage1/
-B/usr/local/i686-pc-sco3.2v5.0.6/bin/" \
STAGE_PREFIX=stage1/ \
CFLAGS="-g -O2" LDFLAGS=""
WARN_CFLAGS="\$(GCC_WARN_CFLAGS)"
STRICT_WARN="-Wtraditional -pedantic -Wno-long-long"
libdir=/usr/local/lib LA
NGUAGES="c gcov c++ f77 java objc" MAKEOVERRIDES= OUTPUT_OPTION="-o \$@"
stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-sco3.2v5.0.6/bin/ -c
-DIN_GC
C -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -
warn) -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I/gcc/gcc-3.0.4/gcc
-I/gcc/g
cc-3.0.4/gcc/. -I/gcc/gcc-3.0.4/gcc/config -I/gcc/gcc-3.0.4/gcc/../include
/gcc
/gcc-3.0.4/gcc/gengenrtl.c
sh: syntax error at line 1: `)' unexpected
*** Error code 2 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
I don't khow what made this mistake, any help would be appreciation.
Orson Lee
03/14/2002
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:
http://messenger.microsoft.com/cn