public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* problem installing gcc 2.95.2
@ 2000-02-02 16:07 Leow Wee Kheng
  2000-04-01  0:00 ` Leow Wee Kheng
  0 siblings, 1 reply; 4+ messages in thread
From: Leow Wee Kheng @ 2000-02-02 16:07 UTC (permalink / raw)
  To: gnu

Hi,

I followed the instructions to install gcc 2.95.2
but encountered the following problem:

[67]# make bootstrap
make[1]: Entering directory `/disks/chestnut1/local/gcc-2.95.2/libiberty'
test x"no" != xyes || \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I/disks/chestnut1/tmp/gcc-2.95.2/libiberty/../include   /disks/chestnut1/tmp/gcc-2.95.2/libiberty/choose-temp.c -o pic/choose-temp.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I/disks/chestnut1/tmp/gcc-2.95.2/libiberty/../include  /disks/chestnut1/tmp/gcc-2.95.2/libiberty/choose-temp.c
In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.f.1/include/time.h:90,
                 from /usr/include/sys/time.h:405,
                 from /usr/include/sys/select.h:17,
                 from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.f.1/include/sys/types.h:281,
                 from /disks/chestnut1/tmp/gcc-2.95.2/libiberty/choose-temp.c:30:
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:76: parse error before `}'
make[1]: *** [choose-temp.o] Error 1
make[1]: Leaving directory `/disks/chestnut1/local/gcc-2.95.2/libiberty'
make: *** [all-libiberty] Error 2


I've tried several different options, including the method
of installing multiple gcc's. But, none of them worked.
Could you tell me how to get around the problem?
Thanks a lot.

Wee Leow

^ permalink raw reply	[flat|nested] 4+ messages in thread

* problem installing gcc 2.95.2
  2000-02-02 16:07 problem installing gcc 2.95.2 Leow Wee Kheng
@ 2000-04-01  0:00 ` Leow Wee Kheng
  0 siblings, 0 replies; 4+ messages in thread
From: Leow Wee Kheng @ 2000-04-01  0:00 UTC (permalink / raw)
  To: gnu

Hi,

I followed the instructions to install gcc 2.95.2
but encountered the following problem:

[67]# make bootstrap
make[1]: Entering directory `/disks/chestnut1/local/gcc-2.95.2/libiberty'
test x"no" != xyes || \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I/disks/chestnut1/tmp/gcc-2.95.2/libiberty/../include   /disks/chestnut1/tmp/gcc-2.95.2/libiberty/choose-temp.c -o pic/choose-temp.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I/disks/chestnut1/tmp/gcc-2.95.2/libiberty/../include  /disks/chestnut1/tmp/gcc-2.95.2/libiberty/choose-temp.c
In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.f.1/include/time.h:90,
                 from /usr/include/sys/time.h:405,
                 from /usr/include/sys/select.h:17,
                 from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.f.1/include/sys/types.h:281,
                 from /disks/chestnut1/tmp/gcc-2.95.2/libiberty/choose-temp.c:30:
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:76: parse error before `}'
make[1]: *** [choose-temp.o] Error 1
make[1]: Leaving directory `/disks/chestnut1/local/gcc-2.95.2/libiberty'
make: *** [all-libiberty] Error 2


I've tried several different options, including the method
of installing multiple gcc's. But, none of them worked.
Could you tell me how to get around the problem?
Thanks a lot.

Wee Leow

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem Installing gcc 2.95.2
@ 2001-03-02 16:15 Thomas A Condarcure
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas A Condarcure @ 2001-03-02 16:15 UTC (permalink / raw)
  To: gcc-help

---------------------- 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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Problem Installing gcc 2.95.2
@ 2001-02-28 14:41 Thomas A Condarcure
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas A Condarcure @ 2001-02-28 14:41 UTC (permalink / raw)
  To: gcc-help

I am trying to run the configure script on a PowerPC system running LynxOS
3.1.0a, but I am running into problems. If I run the configure script with
no arguments, it quits right away, saying that it cannot identify the host.
If I use the following command line:

     /../configure --host=powerpc-lynxos

it will run for a time but will eventually fail, saying that it cannot
configure for that combination. I have tried several different combinations
of cpu's and operating systems with the same result. I even tried going
into the config.guess and putting in something that looked similar to a
combination that was in there. Is there any way to get the configure script
to execute with a combination of cpu and operating system that is not
explicity listed in the config.guess file? Are there other changes that
would have to be made in other files?

I already have a Gnu compiler on the system, 2.9, which seems to work but
was not made with the fortran compiler (which is what I need). The version
I downloaded from the Gnu site is 2.95.2.




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

TEL  520-794-2643
FAX  520-794-0328

email     tacondarcure@west.raytheon.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-03-02 16:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-02 16:07 problem installing gcc 2.95.2 Leow Wee Kheng
2000-04-01  0:00 ` Leow Wee Kheng
2001-02-28 14:41 Problem Installing " Thomas A Condarcure
2001-03-02 16:15 Thomas A Condarcure

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).