This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs 1.1.1 build on Irix 6.5
- To: law at cygnus dot com, "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Subject: Re: egcs 1.1.1 build on Irix 6.5
- From: Kurt Carlson <kcarlson at arsc dot edu>
- Date: Fri, 26 Feb 1999 08:21:01 -0800
- Cc: egcs-bugs at egcs dot cygnus dot com
- References: Your message of Thu, 25 Feb 1999 20:18:34 MST. <v03110701b2fbcdc95446@[137.229.12.6]>
At 00:37 -0800 1999/02/26, Jeffrey A Law wrote:
> In message <v03110701b2fbcdc95446@[137.229.12.6]>you write:
> > Hello,
> >
> > I'm attempting to build egcs 1.1.1 under Irix 6.5 using the SGI
> > supplied gcc, version 2.8.1. It is failing with:
> >
> > kcarlson@indigo41: gcc -DIN_GCC -g -DHAVE_CONFIG_H -I. -I$SRC/gcc \
> > > -I$SRC/gcc/config -c $SRC/gcc/c-parse.c 2>&1 | head -6
> > c-parse.y: In function `yyparse':
> > c-parse.y:279: invalid type argument of `->'
> > c-parse.y:280: invalid type argument of `->'
> > c-parse.y:284: invalid type argument of `->'
> > c-parse.y:285: invalid type argument of `->'
> > c-parse.y:289: invalid type argument of `->'
>Hmmm, sounds like you configured with --enable-checking? You probably don't
>want to do that unless you're actually going to work on the compiler. The
>compiler will not self-build yet with that option enabled.
Nope, doing a generic configure:
kcarlson@indigo41: cd obj
kcarlson@indigo41: export INS=/usr/local/pkg/egcs/egcs-1.1.1
kcarlson@indigo41: $INS/src/configure --prefix=$INS >Log.configure 2>&1 &
kcarlson@indigo41: cat config.status
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
/usr/local/pkg/egcs/egcs-1.1.1/src/configure --with-gcc-version-trigger=/usr/local/pkg/egcs/egcs-1.1.1/src/gcc/version.c --host=mips
-sgi-irix6.5 --prefix=/usr/local/pkg/egcs/egcs-1.1.1 --norecursion
# using "mh-frag"
>BTW, Can you send me (not the list) a copy of <builddir>/gcc/tree-check.h?
kcarlson@indigo41: cat gcc/tree-check.h
/* This file is generated using gencheck. Do not edit. */
kcarlson@indigo41: uals gcc/tree-check.h
- 0640 kcarlson 206 58 990220.0849 gcc/tree-check.h
Pretty much empty.
At 01:54 -0800 1999/02/26, Martin v. Loewis wrote:
>> Does anybody have any idea what I've done wrong or where exactly
>> TREE_LIST_CHECK and TREE_VEC_CHECK are supposed to be defined.
>
>In your build directory, there should be a generated file
>tree-check.h, which should be the output of gencheck, which should
>have been compiled from gencheck.c. tree-check.h should have a
>definition for that macro.
>
>Please have a look at the output of
>
>gcc -DIN_GCC -g -DHAVE_CONFIG_H -I. -I$SRC/gcc -I$SRC/gcc/config -E $SRC/gcc/c-parse.c
>
>(i.e. the preprocessor output; alternatively use -save-temps)
>to see whether the macro has been expanded.
No, the macro was not expanded. As shown above tree-check.h is
effectively empty.
_____________
Kurt Carlson University of Alaska, ARSC mailto:kcarlson@arsc.edu
(907)474-5763 910 Yukon Drive, Suite 108 http://www.arsc.edu
Fax: 474-5494 Fairbanks, AK 99775-6020 USA