[SUMMARY] Installing gcc++

From: Susan Rodriguez <SUSROD_at_HBSI.COM>
Date: Mon, 11 May 1998 06:37:47 -0700

Many of you gave helpful tips on insalling gcc++. Thanks for the quick
responses.

The errors I was seeing were telling me that I had not built all the
compilers in the first stage of make. That is normal. GNU has you make
a simple C compiler witht DEC compiler, then in a later stage it uses
that interim compiler to finish the job. Kind of a neat concept there.

We did have to go back and repeat the whole installation. We missed and
option "--with-stabs" during the initial configure stage where the
Makefile is built for us. After that everything compiled fine and we
were able to add on libraries, a debugger, and successfully compile c++
programs.

Thanks again to:

> Sheila Hollenbaugh
> Clay Porter
> J. Michael Moody
> Laurent Deniel
> Knut Hellebų
> Olle Eriksson
> Brennan Neil x8044
> Daniel David Benson
> Paul A Sand
>
susrod_at_hbsi.com

original post:

We are trying install gcc on a DEC Alpha 4000 running DU4.0D.

We successfully compiled gzip, zcat, gunzip, zdiff, (etc.).

Then we ran the ./configure for gcc. That went fine. The next step:
make LANGUAGES="c" did have a few problems but then went to do a lot of
"fixing". I crossed my fingers and went on.

The next step, make stage1, tries to copy some files into a directory it
creates called stage1. During this move it is failing to find some
files it wants to move.

My best guess would be that the previous step failed.

Am I missing some library header files or possibly some libraries
required to build this? Can anyone give me a few hints?

TIA

susrod_at_hbsi.com

RESPONSES:

> ----------
> From: Sheila Hollenbaugh[SMTP:shollen_at_valhalla.cs.wright.edu]
> Sent: Thursday, May 07, 1998 4:30 AM
> To: Susan Rodriguez
> Subject: Re: [Q] Installing gcc++
>
> The messages you are seeing are normal. Just proceed with the next
> step in the
> make process (remaking the compilers using the stage1 compiler).
>
>
> --
> Sheila Hollenbaugh Sr. Computer Systems Engineer (O-)
> Wright State University College of Engineering & Computer Science
> Dayton, OH 45435
> http://www.cs.wright.edu/people/staff/shollen/
> shollen_at_cs.wright.edu Voice: (937) 775-5077 FAX: (937) 775-5009
>
>
------------------------------

> ----------
> From: Clay Porter[SMTP:clay.porter_at_persimmon.com]
> Sent: Thursday, May 07, 1998 6:38 AM
> To: Susan Rodriguez
> Subject: RE: [Q] Installing gcc++
>
>
>
> > -----Original Message-----
> > From: alpha-osf-managers-owner_at_ornl.gov
> > [mailto:alpha-osf-managers-owner_at_ornl.gov]On Behalf Of Susan
> Rodriguez
> > Sent: Wednesday, May 06, 1998 7:06 PM
> > To: OSF Managers
> > Subject: [Q] Installing gcc++
> >
> >
> >
> > We are trying install gcc on a DEC Alpha 4000 running DU4.0D.
> >
> > We successfully compiled gzip, zcat, gunzip, zdiff, (etc.).
> >
> > Then we ran the ./configure for gcc. That went fine. The next step:
> > make LANGUAGES="c" did have a few problems but then went to do a lot
> of
> > "fixing". I crossed my fingers and went on.
> >
> > The next step, make stage1, tries to copy some files into a
> directory it
> > creates called stage1. During this move it is failing to find some
> > files it wants to move.
> When you do the make LANGUAGES="c" you are only making the C language
> portion of the compiler. If you were to leave that part off then you
> would
> be making all available compilers, i.e. C, C++, Objective-C. Because
> you
> didn't make all languages the copy partially fails because the other
> language files are not there. You can safely ignore the warning on
> the file
> copy.
>
> Disclaimer: I have not made gcc for Digitalis UNIX in about a year so
> some
> of the details are fuzzy. I am prety sure that you can ignore the
> file copy
> errors.
>
> Clay.
> >
> > My best guess would be that the previous step failed.
> >
> > Am I missing some library header files or possibly some libraries
> > required to build this? Can anyone give me a few hints?
> >
> > TIA
> >
> > susrod_at_hbsi.com
> >
> >
> >
>
>
> ----------
> From: J. Michael Moody[SMTP:Michael.Moody-1_at_ksc.nasa.gov]
> Sent: Thursday, May 07, 1998 4:21 AM
> To: Susan Rodriguez
> Subject: gcc on DEC.
>
>
> No Susan what is happening is it is trying to copy files you didn't
> build. You only built the C compiler. It is trying to copy the
> objective c and c++ files too. Just keep on keeping on. The
> instructions for building the compiler are correct.
> What happens is the first step is to build the gcc compiler with the
> native system compiler. The next step is to build the gcc compiler
> again but using the stage1 gcc compiler. You do this a couple of times
> and you end up with a clean gcc compiler system.
>
> I have done this many times on may kinds of unix boxes.
>
> Mike Moody
> moodym_at_yahoo.com
>
> ----------
> From: Laurent Deniel[SMTP:deniel_at_worldnet.fr]
> Sent: Thursday, May 07, 1998 3:27 AM
> To: Susan Rodriguez
> Subject: Re: [Q] Installing gcc++
>
>
> What are the problems in the first stage ?
>
> Do you use gnumake ?
>
> --
> Laurent DENIEL | E-mail: deniel_at_worldnet.fr
> Paris, FRANCE |
> deniel_at_fr.airsysatm.thomson-csf.com
> | WWW : http://www.worldnet.fr/~deniel
> All above opinions are personal, unless stated otherwise.
>
> ----------
> From: Knut Hellebų[SMTP:Knut.Hellebo_at_nho.hydro.com]
> Sent: Thursday, May 07, 1998 12:37 AM
> To: Susan Rodriguez
> Subject: Re: [Q] Installing gcc++
>
> Regards,
>
> I'd suggest two things:
>
> 1) Use GNUmake when 'making'
> 2) Get the latest gcc products from aeneas.mit.edu
> --
>
>
> ******************************************************************
> * Knut Hellebų | DAMN GOOD COFFEE !!
> *
> * Norsk Hydro a.s | (and hot too)
> *
> * Phone: +47 55 996870, Fax: +47 55 996495 |
> *
> * Cellular Phone: +47 93092402 |
> *
> * E-mail: Knut.Hellebo_at_nho.hydro.com | Dale Cooper, FBI
> *
>
> ******************************************************************
>
> ----------
> From: Olle Eriksson[SMTP:olle_at_cb.uu.se]
> Sent: Wednesday, May 06, 1998 11:00 PM
> To: Susan Rodriguez
> Subject: Re: [Q] Installing gcc++
>
> It is normal that you get report of missing files during the
> stage1/stage2
> copying. This is because you did only build the basic C compiler in
> the
> first step while the copying is prepared to copy all compilers and
> libs.
> The failures can be ignored unless the make procedure terminates.
>
>
> ----------
> From: Brennan Neil x8044[SMTP:NBrennan_at_CitiPower.com.au]
> Sent: Wednesday, May 06, 1998 7:09 PM
> To: Susan Rodriguez
> Cc: Jirik Stephen x8373
> Subject: Installing g++
>
>
>
> ----------------------------------------------------------------------
> -
>
>
> Hi Susan,
>
> I was passed your message by one of our DBAs (Steve Jirik, cc-ed
> above).
>
> I spent some time installing g++ on a DEC Alpha here (running OSF,
> sorry), and attach my notes. I hope they help; my basic guess is that
> you may be building in an environment where you don't have adequate
> privileges or the directory structure is confusing the configure
> script
> for some obscure reason.
>
> If you got zcat etc. working, I don't think it sounds like your
> problem
> is libraries, the C compiler stuff runs pretty lean and mean at the
> start. What kind of 'fixing' did the make do?
>
> Regards,
>
> Neil Brennan
> CitiPower
>
>
> ----------------------------------------------------------------------
> -
>
> I went to a bookstore and asked the saleswoman, "Where's the
> self-help section?" She said if she told me, it would defeat the
> purpose.
>
> -- Steve Wright
>
>
>
>
> ----------
> From: Daniel David Benson[SMTP:bensond_at_ssds.ucdavis.edu]
> Sent: Wednesday, May 06, 1998 3:17 PM
> To: Susan Rodriguez
> Subject: Re: [Q] Installing gcc++
>
>
>
> Nah, you're ok. The make stage# steps try to copy over multiple
> languages,
> but since you only built one (C) then that's all it could find. This
> is at least my interpretation of the output. It's ignoreable.
>
> -Dan
>
>
> --
> ----------------------------------------------------------------------
> Daniel David Benson bensond_at_ucdavis.edu
> System Administrator http://wwwcsif.cs.ucdavis.edu/~bensond
> Social Science Data Service pgp - finger bensond_at_aion.ucdavis.edu
> University of California, Davis Linux User
> ----------------------------------------------------------------------
>
>
> ----------
> From: Paul A Sand[SMTP:pas_at_unh.edu]
> Sent: Wednesday, May 06, 1998 4:17 PM
> To: Susan Rodriguez
> Subject: Re: [Q] Installing gcc++
>
>
> Some error messages are innocuous. I would advise
> continuing on. My notes claim that these commands
> (in the gcc-<version> subdirectory):
>
> % ./configure
> % make LANGUAGES=c
> % make stage1
> % make CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O2"
> % make stage2
> % make CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O2"
> % make compare
>
> Followed by (as root)
>
> # make install CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O2"
> # cd /usr/local/lib/gcc-lib/alpha-dec-osf4.0?/<version>/include
> # chown -R root .
> # find . -type f -exec chmod go+r {} \;
> # find . -type d -exec chmod go+rx {} \;
>
> works. These last four steps I needed to get the protections
> in the installed include files correct, may not be necessary
> for you.
>
> --
> -- Paul A. Sand | I'm not smart enough to be happy
> about
> -- University of New Hampshire | thinking that hard.
> -- pas_at_unh.edu | (Larry Wall, comp.lang.perl)
> -- http://pubpages.unh.edu/~pas |
>

Received on Mon May 11 1998 - 15:35:31 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT