[comp.sys.dec] gcc on a DEC 2100

eanv20@castle.ed.ac.uk (John Woods) (05/17/91)

Recently minar@reed forwarded a helpful looking document by thomas@bach to
this group on the problem of getting g++ etc. working on a DEC 3100. I've been
trying to get gcc.1.39 to work on our DEC 2100, but I get a barf in the 

	make CC=stage1/gcc CFLAGS="-g -O -Bstage1/" >&! ../MAKELOG-2 &

stage. The log file contains the following message:

	ld:
	Can't locate file for: -lg
	ld: Usage: ld [options] file [...]
	*** Error code 1

and I don't seem to be able to get round it. If I copy libg.a to /usr/local/lib
I get the following:

ld:
Can't read archive header in: /usr/local/lib/libg.a (No such file or directory)
ld: Usage: ld [options] file [...]
*** Error code 1

Any help would be gratefully received. Thanks for your time and bandwidth.

					...John Woods
-- 
 /******* cut here ******* John Woods ******* cut here ********
 * Philosophy: Forsan et haec olim meminisse iuvabit (Virgil) *
 * Disclaimer: Every statement in this file is possibly !true *
 ******** cut here ******* John Woods ******* cut here *******/

eanv20@castle.ed.ac.uk (John Woods) (05/17/91)

In my last post I complained about a DECstation 2100 barfing in the stage1
make command during the installation of gcc. Minutes after posting, the 
following thought occurred: I invented a dummy module, and archived it under
the name of /usr/local/lib/libg.a, giving it a table-heading by using ar -ts
on it. Everything appears to be going on now. Maybe the makefile in the
distribution needs alteration?

				...John Woods

-- 
 /******* cut here ******* John Woods ******* cut here ********
 * Philosophy: Forsan et haec olim meminisse iuvabit (Virgil) *
 * Disclaimer: Every statement in this file is possibly !true *
 ******** cut here ******* John Woods ******* cut here *******/