[comp.lang.c++] libg++ problem

stevee@ism780c.isc.com (Steve Ellingson) (01/05/90)

I've been trying to build the GNU C and C++ compilers on a
Compaq 386 running 386/ix (2.0.2). gcc is version 1.36, g++
is version 1.36.1, and libg++ is 1.36.1.

gcc and g++ seem to have built without problems, but when I try
to build the g++ libraries, I get the error message "Nonexistent
file", and an "output pipe" is closed.

The string "Nonexistent file" doesn't appear in any of the GNU
stuff, but it does appear in /bin/as. Is it possible that a
pipe is being opened to the assembler, and the assembler won't read
from stdin and exits?

I'm dreading the idea of having to wade through zillions of lines
of GNU code to try to track this down... if anybody has any ideas
or suggestions, I'd really appreciate them :-).

			Steve

-----------------The result of the make------------------

$ make
        (cd src; make GXX="g++"  GXXFLAGS="-DUSG -I/s/.g/libg++/g++-include -g -O -fstrength-reduce  -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized  -Wall -pipe" GXXLDFLAGS="-L/s/.g/libg++/src -lg++ -lm -lPW" LIBDIR="/usr/local/lib" SRCIDIR="/s/.g/libg++/g++-include" CC="gcc" CFLAGS="-DUSG -I/usr/local/lib/gcc-include -I/usr/include -I/s/.g/libg++/g++-include -g -O -fstrength-reduce -fdelayed-branch  -Wall -pipe" RANLIB="ranlib" LDXX="/usr/local/lib/gcc-ld" GXXCRT1="/usr/local/lib/c



rt1+.o" MAKE="make" prefix="/usr/local" )
        g++ -DUSG -I/s/.g/libg++/g++-include -g -O -fstrength-reduce  -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized  -Wall -pipe -c  AllocQueue.cc
Nonexistent file
AllocQueue.cc: In method AllocQueue::AllocQueue (int):
AllocQueue.cc:35: output pipe has been closed
*** Error code 1

Stop.
*** Error code 1

Stop.
$ exit




-----------------------------------------------------------------
Steve Ellingson              stevee@ism780c.isc.com
INTERACTIVE Systems Corp.    {ico, uunet}!ism780c!stevee

-- 
-----------------------------------------------------------------
Steve Ellingson              stevee@ism780c.isc.com
INTERACTIVE Systems Corp.    {ico, uunet}!ism780c!stevee

jackv@turnkey.gryphon.COM (Jack F. Vogel) (01/07/90)

In article <37927@ism780c.isc.com> stevee@ism780c.isc.com (Steve Ellingson) writes:
 
>gcc and g++ seem to have built without problems, but when I try
>to build the g++ libraries, I get the error message "Nonexistent
>file", and an "output pipe" is closed.
 
>I'm dreading the idea of having to wade through zillions of lines
>of GNU code to try to track this down... if anybody has any ideas
>or suggestions, I'd really appreciate them :-).
 
No need to wade through those zillions of lines Steve, the problem
is not in the code. I had almost forgotton about this, but I saw the
same thing when I built the library. The problem is with the configuration
in the Makefile.

I don't recall for sure everything I might have tweaked to get it to work
but one thing I know I did was comment out the PIPE_AS option. I think
that will be enough to get it to work, but in any case there is no code
problem here, just configuration.

Good Luck, send me email at turnkey if you need further assistance.


-- 
Jack F. Vogel			jackv@seas.ucla.edu
AIX Technical Support	              - or -
Locus Computing Corp.		jackv@ifs.umich.edu