Fwd: GCC 4.8.1 MIPS
Hendrik Greving
hendrik.greving.intel@gmail.com
Fri Jul 26 22:33:00 GMT 2013
Forwarding this to the mailing list as I have forgotten to reply-all.
Should anybody search for the same issue, my solution was to get the
right gawk version. gawk generates a optionslist and options.h file.
The GCC documentation states that gawk 3.1.5 is known to work. My
version was broken.
Regards,
Hendrik Greving
---------- Forwarded message ----------
From: Steve Ellcey <sellcey@mips.com>
Date: Mon, Jul 22, 2013 at 1:04 PM
Subject: Re: GCC 4.8.1 MIPS
To: Hendrik Greving <hendrik.greving.intel@gmail.com>
On Mon, 2013-07-22 at 12:16 -0700, Hendrik Greving wrote:
> In file included from build/gencondmd.c:40:0:
> ../../gcc-4.8.1/gcc/config/mips/constraints.md: In function ‘bool
> satisfies_constraint_W(rtx)’:
> ../../gcc-4.8.1/gcc/config/mips/constraints.md:197:2: error:
> ‘target_flags’ was not declared in this scope
> ../../gcc-4.8.1/gcc/config/mips/constraints.md:197:2: error:
> ‘MASK_MIPS16’ was not declared in this scope
> ../../gcc-4.8.1/gcc/config/mips/mips.md: At global scope:
> ../../gcc-4.8.1/gcc/config/mips/mips.md:4442:2: error:
> ‘TARGET_FLOAT64’ was not declared in this scope
> ../../gcc-4.8.1/gcc/config/mips/mips.md:4442:2: error: ‘target_flags’
> was not declared in this scope
> ../../gcc-4.8.1/gcc/config/mips/mips.md:4442:2: error: ‘MASK_MIPS16’
> was not declared in this scope
I have never gotten this problem. It does look like gcc/options.h
was not created correctly. It should be in your build directory
and contain things like:
#define MASK_MIPS16 (1 << 17)
#define TARGET_FLOAT64 ((target_flags & MASK_FLOAT64) != 0)
Steve Ellcey
sellcey@mips.com
More information about the Gcc
mailing list