On Sun, 2013-07-21 at 10:24 -0700, Hendrik Greving wrote:
> The enum opt_code in gcc/options.h looks like this;
> 
> enum opt_code
> {
>   N_OPTS,
>   OPT_SPECIAL_unknown,
>   OPT_SPECIAL_ignore,
>   OPT_SPECIAL_program_name,
>   OPT_SPECIAL_input_file
> };
> 
> I have a feeling I am missing something. Any idea what?
> 
> Thanks,
> Regards,
> Hendrik Greving

Which MIPS target are you building?  I have not had any problems
building a MIPS cross compiler using the GCC 4.8.1 sources.
When I look at gcc/options.h in my build directory I see a very
(very) large opt_code enum:

enum opt_code
{
  OPT____ = 0,                               /* -### */
  /* OPT__CLASSPATH = 1, */                  /* --CLASSPATH */

(lots of deleted lines)

  OPT_fpic = 773,                            /* -fpic */
  OPT_fpie = 774,                            /* -fpie */

(lots more deleted lines)

  OPT_v = 1212,                              /* -v */
  OPT_version = 1213,                        /* -version */
  OPT_w = 1214,                              /* -w */
  OPT_wrapper = 1215,                        /* -wrapper */
  OPT_x = 1216,                              /* -x */
  OPT_z = 1217,                              /* -z */
  N_OPTS,
  OPT_SPECIAL_unknown,
  OPT_SPECIAL_ignore,
  OPT_SPECIAL_program_name,
  OPT_SPECIAL_input_file
};

You are not configuring/building directly in the source directory are
you?  That doesn't work.  options.h is built during the make process, it
looks like it didn't get made correctly for you.  You might be missing
some tool (grep, awk, etc) that is needed when making option.h.

Steve Ellcey
sell...@mips.com


Reply via email to