holling@CS.WILLIAMS.EDU (David Hollinger) (12/02/89)
Help! I'm trying to build libg++ 1.36.1 on a Sun 3 under OS 4.0. I had no problem with gcc 1.36 or g++ 1.36.1, but I can't get anywhere with libg++. I'm sure I'm missing somthing simple - any ideas ? Thanks in advance, Dave Hollinger holling@cs.williams.edu What happens: /bullseye/dists/libg++ % make (cd src; make GXX="g++" GXXFLAGS=" -I/bullseye/dists/libg++/g++-include -O -fstrength-reduce -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized -pipe" GXXLDFLAGS="-L/bullseye/dists/libg++/src -lg++ -lm " LIBDIR="/usr/local/lib" SRCIDIR="/bullseye/dists/libg++/g++-include" CC="gcc" CFLAGS=" -I/usr/local/lib/gcc-include -I/usr/include -I/bullseye/dists/libg++/g++-include -O -fstrength-reduce -fdelayed-branch -pipe" RANLIB="ranlib" LDXX="/usr/local/lib/gcc-ld" GXXCRT1="/usr/local/lib/crt1+.o" MAKE="make" prefix="/usr/local" ) g++ -I/bullseye/dists/libg++/g++-include -O -fstrength-reduce -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized -pipe -c builtin.cc as: No input file builtin.cc: In function long int gcd (long int, long int): builtin.cc:60: output pipe has been closed /usr/local/lib/gcc-cpp: output pipe has been closed *** Error code 1 make: Fatal error: Command failed for target `builtin.o' Current working directory /bullseye/dists/libg++/src *** Error code 1 make: Fatal error: Command failed for target `src/libg++.a' I remove -pipe, and now I get this : make (cd src; make GXX="g++" GXXFLAGS=" -I/bullseye/dists/libg++/g++-include -O -fstrength-reduce -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized " GXXLDFLAGS="-L/bullseye/dists/libg++/src -lg++ -lm " LIBDIR="/usr/local/lib" SRCIDIR="/bullseye/dists/libg++/g++-include" CC="gcc" CFLAGS=" -I/usr/local/lib/gcc-include -I/usr/include -I/bullseye/dists/libg++/g++-include -O -fstrength-reduce -fdelayed-branch " RANLIB="ranlib" LDXX="/usr/local/lib/gcc-ld" GXXCRT1="/usr/local/lib/crt1+.o" MAKE="make" prefix="/usr/local" ) g++ -I/bullseye/dists/libg++/g++-include -O -fstrength-reduce -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized -c builtin.cc In file included from /bullseye/dists/libg++/g++-include/osfcn.h:4, from builtin.cc:763: /bullseye/dists/libg++/g++-include/time.h:60: warning: type declaration of timezone shadows previous declaration /bullseye/dists/libg++/g++-include/time.h:60: warning: `timezone' was declared `extern' and later `static' as: error (/usr/tmp/cca03408.s:1388): Invalid operand as: error (/usr/tmp/cca03408.s:1404): Invalid operand *** Error code 1 make: Fatal error: Command failed for target `builtin.o' Current working directory /bullseye/dists/libg++/src *** Error code 1 make: Fatal error: Command failed for target `src/libg++.a'
tiemann@LURCH.STANFORD.EDU (Michael Tiemann) (12/02/89)
Date: Fri, 1 Dec 89 12:58:52 EST
From: holling@cs.williams.edu (David Hollinger)
Help!
I'm trying to build libg++ 1.36.1 on a Sun 3 under OS 4.0.
I had no problem with gcc 1.36 or g++ 1.36.1, but I can't
get anywhere with libg++. I'm sure I'm missing somthing
simple - any ideas ?
Thanks in advance,
Dave Hollinger holling@cs.williams.edu
What happens:
/bullseye/dists/libg++ % make
(cd src; make GXX="g++" GXXFLAGS="
-I/bullseye/dists/libg++/g++-include -O -fstrength-reduce
-felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized
-pipe" GXXLDFLAGS="-L/bullseye/dists/libg++/src -lg++ -lm "
LIBDIR="/usr/local/lib" SRCIDIR="/bullseye/dists/libg++/g++-include"
CC="gcc" CFLAGS=" -I/usr/local/lib/gcc-include -I/usr/include
-I/bullseye/dists/libg++/g++-include -O -fstrength-reduce
-fdelayed-branch -pipe" RANLIB="ranlib" LDXX="/usr/local/lib/gcc-ld"
GXXCRT1="/usr/local/lib/crt1+.o" MAKE="make" prefix="/usr/local" )
g++ -I/bullseye/dists/libg++/g++-include -O -fstrength-reduce
-felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized
-pipe -c builtin.cc
as: No input file
builtin.cc: In function long int gcd (long int, long int):
builtin.cc:60: output pipe has been closed
/usr/local/lib/gcc-cpp: output pipe has been closed
*** Error code 1
make: Fatal error: Command failed for target `builtin.o'
Current working directory /bullseye/dists/libg++/src
*** Error code 1
make: Fatal error: Command failed for target `src/libg++.a'
I remove -pipe, and now I get this :
make
(cd src; make GXX="g++" GXXFLAGS="
-I/bullseye/dists/libg++/g++-include -O -fstrength-reduce
-felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized
" GXXLDFLAGS="-L/bullseye/dists/libg++/src -lg++ -lm "
LIBDIR="/usr/local/lib" SRCIDIR="/bullseye/dists/libg++/g++-include"
CC="gcc" CFLAGS=" -I/usr/local/lib/gcc-include -I/usr/include
-I/bullseye/dists/libg++/g++-include -O -fstrength-reduce
-fdelayed-branch " RANLIB="ranlib" LDXX="/usr/local/lib/gcc-ld"
GXXCRT1="/usr/local/lib/crt1+.o" MAKE="make" prefix="/usr/local" )
g++ -I/bullseye/dists/libg++/g++-include -O -fstrength-reduce
-felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized
-c builtin.cc
In file included from /bullseye/dists/libg++/g++-include/osfcn.h:4,
from builtin.cc:763:
/bullseye/dists/libg++/g++-include/time.h:60: warning: type
declaration of timezone shadows previous declaration
/bullseye/dists/libg++/g++-include/time.h:60: warning: `timezone' was
declared `extern' and later `static'
as: error (/usr/tmp/cca03408.s:1388): Invalid operand
as: error (/usr/tmp/cca03408.s:1404): Invalid operand
*** Error code 1
make: Fatal error: Command failed for target `builtin.o'
Current working directory /bullseye/dists/libg++/src
*** Error code 1
make: Fatal error: Command failed for target `src/libg++.a'
Errors like this indicate that you failed to install the GNU
assembler.
Michael