From:	CRDGW2::CRDGW2::MRGATE::"SMTP::AI.MIT.EDU::GNULISTS" 20-FEB-1991 08:53:50.80
To:	ARISIA::EVERHART
CC:	
Subj:	Re: g++,gcc,gas,gdb,libg++ sources

From:	gnulists@ai.mit.edu@SMTP@CRDGW2
To:	Everhart@Arisia@MRGATE

Received:  by crdgw1.ge.com (5.57/GE 1.83)
	 id AA04934; Tue, 19 Feb 91 23:06:58 EST
Received: by life.ai.mit.edu (4.1/AI-4.10) id AA07525; Tue, 19 Feb 91 02:41:28 EST
Return-Path: <gnulists@ai.mit.edu>
Received: from rice-chex (rice-chex.ai.mit.edu) by life.ai.mit.edu (4.1/AI-4.10) id AA07434; Tue, 19 Feb 91 02:40:19 EST
Received: by rice-chex (4.1/AI-4.10) id AA01946; Tue, 19 Feb 91 02:38:59 EST
Resent-Date: 12 Feb 91 08:44:02 GMT
Resent-From: gnulists@ai.mit.edu
Resent-Message-Id: <9102190738.AA01946@rice-chex>
Received: from tut.cis.ohio-state.edu by aeneas.MIT.EDU (5.61/4.7) id AA02378; Tue, 12 Feb 91 23:40:02 -0500
Received: by tut.cis.ohio-state.edu (5.61-kk/5.910130)
	id AA18307; Tue, 12 Feb 91 23:35:21 -0500
Received: from USENET by tut.cis.ohio-state.edu with netnews
	for help-g++@prep.ai.mit.edu (help-g++@prep.ai.mit.edu)
	(contact usenet@tut.cis.ohio-state.edu if you have questions)
Date: 12 Feb 91 08:44:02 GMT
From: fub!opal!fauern!geyer!menzel@uunet.uu.net  (Bernd Menzel)
Sender: gnulists@ai.mit.edu
Organization: University of Wuerzburg, Germany
Subject: Re: g++,gcc,gas,gdb,libg++ sources
Message-Id: <483@geyer.UUCP>
To: help-g++@prep.ai.mit.edu

I have installed gcc-1.37.1 and g++-1.37.2 (beta) on
a DECstation 3100.

Unfortunately, gcc-1.39 has a bug on DECstation, so I can't use
this newer version.

0) gcc-1.37.1 compiles without errors on dec.

To compile g++ there are to make some changes to the Makefile
and other files: 

1) Throw out all -g options for the gcc compiler.

2) Include the option -d in BISONFLAGS.

3) Uncomment the COFFLAGS defining EXTENDED_COFF 
   and append -DCOLLECT to the COFFLAGS.

4) To build the target 'collect' use
   $(CC) -o collect collect.c $(PROFILE) $(CFLAGS) $(INCLUDES) $< -lg -lc

5) Uncomment the 'all' target for COFF machines.

6) File aux_output.c, line 467:
        Replace extern char *tree_code_name[];
        by      extern char **tree_code_name;

7) File collect.c, line 79:
        Remove the definition enum mips_selection cur_section;

8) Perform all actions mentioned in the installation file.
   Run 'make clean' after 'config.g++ decstation'.

Good luck
	Bernd


