public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Thomas A Condarcure" <tacondarcure@west.raytheon.com>
To: gcc-help@gcc.gnu.org
Subject: Re: Problem Installing gcc 2.95.2
Date: Fri, 02 Mar 2001 16:15:00 -0000	[thread overview]
Message-ID: <OF9B9A5AAC.B2619BBD-ON07256A04.0001631C@rsc.raytheon.com> (raw)

---------------------- Forwarded by Thomas A Condarcure/RWS/Raytheon/US on
03/02/2001 05:15 PM ---------------------------

From: Thomas A Condarcure on 03/02/2001 05:10 PM

To:   gcc-help@gcc-gnu.org
cc:

Subject:  Re: Problem Installing gcc 2.95.2

To give a little more information on the problem I am having installing gcc
2.95.2 on a PowerPC machine running LynxOS 3.1.0a: I unpacked the 'tar'
file from the directory /usr/gccsrc, and it created the directory
/usr/gccsrc/gcc-2.95.2 for the unpacked files. I did the configure and make
scripts from the directory /usr/gccsrc/gccobj.

I added an entry in the case statement of the 'config.guess' file so that
the configure script would substitute rs6000-unknown-lynxos for
powerpc-unknown-lynxos and ignore the different version (2.* vs 3.*) when
doing the configuration. When I tried this originally, I used parentheses
instead of braces around a parameter in the list. This allowed the
configure script to run successfully.

I followed this with 'make bootstrap'. This ran for a little while but ran
into a problem with the following error messages on the screen:

In file included from
/usr/lib/gcc-lib/ppc-xcoff-lynxos/2.9-gnupro-98r2/../../../../include
/sys/wait.h : 18,
                                      from
/usr/gccsrc/gcc-2.95.2/gcc/system.h : 237
                                      from
/usr/gccsrc/gcc-2.95.2/gcc/cccp.c : 23

/usr/gccsrc/gcc-2.95.2/gcc/resource.h(38) : error : parse error before
'HARD_REG_SET'
/usr/gccsrc/gcc-2.95.2/gcc/resource.h(38) : warning : no semicolon at end
of struct or union
/usr/gccsrc/gcc-2.95.2/gcc/resource.h(42) : error : parse error before
'struct'
/usr/gccsrc/gcc-2.95.2/gcc/resource.h(43) : error : parse error before
'struct'
/usr/gccsrc/gcc-2.95.2/gcc/resource.h(45) : error : parse error before
'struct'
/usr/gccsrc/gcc-2.95.2/gcc/resource.h(46) : warning : parameter names
(without types) in function declaration
/usr/gccsrc/gcc-2.95.2/gcc/resource.h(47) : warning : parameter names
(without types) in function declaration
/usr/gccsrc/gcc-2.95.2/gcc/resource.h(48) : error : parse error before
'int'
/usr/gccsrc/gcc-2.95.2/gcc/resource.h(49) : warning : parameter names
(without types) in function declaration
/usr/gccsrc/gcc-2.95.2/gcc/resource.h(48) : error : parse error before
'find_free_register'
/usr/gccsrc/gcc-2.95.2/gcc/resource.h(48) : error : parse error before
'char'
/usr/gccsrc/gcc-2.95.2/gcc/resource.h(49) : warning : data definition has
no type or storage class

In file included from /usr/gccsrc/gcc-2.95.2/gcc/system.h : 237,
                             from /usr/gccsrc/gcc-2.95.2/gcc/cccp.c : 23:

/usr/lib/gcc-lib/ppc-xcoff-lynxos/2.9-gnupro-98r2/../../../../include/sys/wait.h(102)

: warning : 'struct rusage' declared inside parameter list
/usr/lib/gcc-lib/ppc-xcoff-lynxos/2.9-gnupro-98r2/../../../../include/sys/wait.h(102)

: warning : its scope is only this definition or declaration,
/usr/lib/gcc-lib/ppc-xcoff-lynxos/2.9-gnupro-98r2/../../../../include/sys/wait.h(102)

: warning : which is probably not what you want.

make[2]: *** [cccp.o] Error1
make[1]: *** [bootstrap] Error2
make: *** [bootstrap] Error2

At this point, the make script ends.

I think the first error in resource.h(38) is due to no include file giving
any definition for HARD_REG_SET, which causes the errors in lines 42, 43
and 45.
Line 46, 47 and 49 are of the form:

     extern void clear_hashed_info_for_insn           PROTO((rtx));

a function declatration with a PROTO macro. The include file 'resource.h'
is from the gcc distribution. I don't know what the other errors are about.

My machine has already has version 2.9 of gcc running on it, and it came
from the LynxOS vendor, however it was not created with the fortran
compiler installed, which is what I need.

Does anyone have an idea why the 'make bootstrap' is crashing? Do I need to
modify some of the distribution files for my platform?

Any help will be greatly appreciated.



Tom Condarcure
Raytheon Systems Co.
P.O. Box 11337
Bldg 805  MS F4
Tucson, AZ 85734

email:    tacondarcure@west.raytheon.com




             reply	other threads:[~2001-03-02 16:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-02 16:15 Thomas A Condarcure [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-02-28 14:41 Thomas A Condarcure
2000-02-02 16:07 problem installing " Leow Wee Kheng
2000-04-01  0:00 ` Leow Wee Kheng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OF9B9A5AAC.B2619BBD-ON07256A04.0001631C@rsc.raytheon.com \
    --to=tacondarcure@west.raytheon.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).