Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* building gcc with Tru64 cc: fails
@ 1999-11-08  5:00 franks
  1999-11-09  5:00 ` Jesper Frank Nemholt
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: franks @ 1999-11-08  5:00 UTC (permalink / raw)


Hi,

I read the recent thread about how the default Tru64 cc will
build gcc... I decided to try it. 

Well, I am having trouble...

0. I tar-copied all of the freeware CD tree over under directory
   /usr/local/freeware/

1. tried Larry Gensch's recommended-in-a-recent-posting command:

    "CC-cc CFLAGS="-fast -O4" ./configure

   in the gcc-2.95 directory tree followed by:

    /usr/local/freeware/bin/make

   and that runs awhile until erroring out.  Herewith, is
   a piece of that failure:

...
cp xlimits.h include/limits.h
chmod a+r include/limits.h
rm -f include/float.h
if [ xfloat-i64.h != xMakefile.in ]; then \
  cp ./config/float-i64.h include/float.h && \
  chmod a+r include/float.h; \
else :; fi
rm -f include/README
cp ./README-fixinc include/README
chmod a+r include/README
touch stmp-int-hdrs
rm -f SYSCALLS.c tmp-SYSCALLS.s
cat ./sys-types.h ./sys-protos.h > SYSCALLS.c
/usr/users/tmadden/gcc-2.95/gcc/xgcc -B/usr/users/tmadden/gcc-2.95/gcc/
-B/usr/local/alphaev56-dec-osf4.0d/bin/
-I/usr/local/alphaev56-dec-osf4.0d/include  -DIN_GCC -DHAIFA    -fast
-O4 -I./include     -I. -I. -I./config -I./../include \
  -aux-info SYSCALLS.c.X -S -o tmp-SYSCALLS.s SYSCALLS.c
cc1: Invalid option `-fast'
make[1]: *** [SYSCALLS.c.X] Error 1
make: *** [all-gcc] Error 2

2. OK, so gcc/xgcc don't like "-fast", lets retry that...

    make clean
    CC=cc CFLAGS="-O4" ./configure
    /usr/local/freeware/bin/make

   ...and that runs awhile longer erroring out with this:
...
cc  -DIN_GCC    -O4   -o ../cc1plus `cat ../stamp-objlist` ../c-common.o
../c-pragma.o call.o decl.o errfn.o expr.o pt.o sig.o typeck2.o class.o
decl2.o error.o lex.o parse.o ptree.o rtti.o spew.o typeck.o cvt.o
except.o friend.o init.o method.o search.o semantics.o tree.o xref.o
repo.o  `if [ xobstack.o != x ]; then echo ../obstack.o; else true; fi`
`case "cc" in "cc") if [ x != x ]; then echo ../; else true; fi ;; esac`
`if [ x != x ]; then echo ../; else true; fi`  -lmld
touch lang-f77
cd f; /usr/local/freeware/bin/make "AR_FLAGS_FOR_TARGET=rc"
"AR_FOR_TARGET=ar" "BISON=bison" "BISONFLAGS=" "CFLAGS=-O4" "CLIB=-lmld"
"GCC_FOR_TARGET=/usr/users/tmadden/gcc-2.95/gcc/xgcc
-B/usr/users/tmadden/gcc-2.95/gcc/
-B/usr/local/alphaev56-dec-osf4.0d/bin/
-I/usr/local/alphaev56-dec-osf4.0d/include" "LDFLAGS=" "LEX=flex"
"LEXFLAGS=" "LN=ln" "LN_S=ln -s"
"MAKEINFO=/usr/users/tmadden/gcc-2.95/texinfo/makeinfo/makeinfo "
"MAKEINFOFLAGS=" "RANLIB_FOR_TARGET=ranlib" "RANLIB_TEST_FOR_TARGET=[ -f
ranlib ] || ( [ "alphaev56-dec-osf4.0d" = "alphaev56-dec-osf4.0d" ] && [
-f /usr/bin/ranlib -o -f /bin/ranlib ] )" "SHELL=/bin/sh"
"STAGE_PREFIX=" "exeext=" "build_exeext=" "objext=.o"
"exec_prefix=/usr/local" "prefix=/usr/local" "local_prefix=/usr/local"
"gxx_include_dir=/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0d/2.95/../../../..`echo
/usr/local | sed -e 's|^/usr/local||' -e
's|/[^/]*|/..|g'`/include/g++-3"
"tooldir=/usr/local/alphaev56-dec-osf4.0d"
"gcc_tooldir=/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0d/2.95/../../../../alphaev56-dec-osf4.0d"
"bindir=/usr/local/bin"
"libsubdir=/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0d/2.95"
"datadir=/usr/local/share" "distdir=../tmp/\$(subdir)"
"localedir=/usr/local/share/locale" "CC=cc" \
  HOST_CC="`case 'cc' in stage*) echo 'cc' | sed -e
's|stage|../stage|g';; *) echo 'cc';; esac`" \
  HOST_CFLAGS=" -DIN_GCC -DHAIFA    -O4  -DHAVE_CONFIG_H"
HOST_CPPFLAGS="  " \
  ../f771
cc -c  -DIN_GCC    -O4  -W -Wall    -I. -I.. -I. -I./.. -I./../config
-I./../../include bad.c
cc: Error: Syntax error on -W switch:  form is -Wpassname,switch
make[2]: *** [bad.o] Error 2
make[1]: *** [f771] Error 2
make: *** [all-gcc] Error 2
Mon Nov  8 16:16:16 MST 1999


Stumped!  What hack do I try next?  

Or maybe someone can save me time by pointing to that URL 
where a precompiled gcc for Tru64 lives? 

ed



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1999-11-19  5:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-08  5:00 building gcc with Tru64 cc: fails franks
1999-11-09  5:00 ` Jesper Frank Nemholt
1999-11-12  5:00 ` Tim Mooney
1999-11-12  5:00 ` lar3ry gensch
1999-11-18  5:00 ` Erik Braun
1999-11-18  5:00   ` Jeff Sullivan
1999-11-19  5:00     ` Erik Braun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox