[gnu.g++.lib.bug] libg++ installation

gt0876d@prism.gatech.edu (GOTTEMUKKALA,VIBBY) (12/23/89)

I have been trying to install the libg++-1.36.1 and when I do
"make src/libg++.a" I get

as: No input file
AllocQueue.cc : In method AllocQueue::AllocQueue (int):
AllocQueue.cc:35: output pipe has been closed
*** Error code 1

Stop.
*** Error code 1

Stop.

Can you tell me why this happening.

Thanks
Vibby

e-mail : gt0876d@prism.gatech.edu

daniel@ux1.cso.uiuc.edu (12/23/89)

With regards to your assembler (as) complaining about no input file:

This is caused by your using the -pipe parameter.  Look at line 120
(approximately) of your Makefile and note the line PIPE_AS= -pipe.
This line is telling the gnu compiler (g++) that it can just pipe its
assembler code to the assembler instead of writing it to a temporary
file.  This is not the case for your assembler.

There are two possible solutions for this:
    1) Install and thereby use the GNU assembler, gas.  gas takes piped
	input.  When you install it, place it or a link to it in the
	same directory where you placed such items as gcc-cc1plus.  In
	that directory, call it gcc-as.
    2) Comment out the line PIPE_AS= -pipe and take your chances with
	your own assembler.  My personal experience has shown me that
	your chances along this vain may not be good.  (But heck, it
	wouldn't hurt to try unless you are charged for cpu usage.)

-- Daniel Pommert

email.internet:	pommert@uiuc.edu
email.bitnet:	daniel@uiucvmd

phone:	(217) 333-8629

post:	DCL Rm, 150
	1304 W. Springfield
	Urbana, IL  61801-2987

where:	40  6 47 N Latitude
	88 13 36 W Longitude