[comp.unix.ultrix] GNU LD or collect2

rainwatr@ucunix.san.uc.edu (Don Rainwater) (01/18/90)

	I'm trying to build g++ 1.36.3 on Ultrix 3.0 and I'm having a
little trouble.  The installation section of the README file says that
GAS and GNU LD should be used if available.  GAS is available, but I've
been unable to locate GNU LD on any of the archives that I know of.  Is
GNU LD available?  Where can I get it?

	The installation notes also say that collect2 can be used if GNU
LD is not available.  I tried to build collect2 ('make collect2', after
applying the posted fix for it in the Makefile) and I get the following
error messages:

> gcc -o collect2 collect2.c  $COLLECT_OPTIONS -g -DGATHER_STATISTICS -O
> 	-DESKIT - I. -I. -I./config  -lc
> collect2.c: In function write_hooks:
> collect2.c:153: `TEXT_SECTION_ASM_OP' undeclared (first use this function)
> collect2.c:153: (Each undeclared identifier is reported only once
> collect2.c:153: for each function it appears in.)
> collect2.c:159: `DATA_SECTION_ASM_OP' undeclared (first use this function)
> *** Error code 1
>  
> Stop.

	What can be done about this (assuming that I'm unable to get GNU LD)?
Thanks in advance for any help.
--
Don Rainwater, Systems Manager, Univ. of Cincinnati Computer Center
rainwatr@ucunix.san.uc.edu		rainwatr@ucbeh.san.uc.edu
...!uccba!ucunix!rainwatr		rainwatr@ucbeh.bitnet