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 On Sat, Jul 20, 2013 at 6:28 PM, Hendrik Greving <hendrik.greving.in...@gmail.com> wrote: > I tried to build a cross-compiler for mips target, I wanted to see how > mips handles certain target macros (I basically want to look at > mips.ii). In any case, when compiling, I am getting this error: > > ../../gcc-4.8.1/gcc/lto-wrapper.c: In function ‘void > merge_and_complain(cl_decoded_option**, unsigned int*, > cl_decoded_option*, unsigned int)’: > ../../gcc-4.8.1/gcc/lto-wrapper.c:407:7: error: ‘OPT_fPIC’ was not > declared in this scope > ../../gcc-4.8.1/gcc/lto-wrapper.c:408:7: error: ‘OPT_fpic’ was not > declared in this scope > ../../gcc-4.8.1/gcc/lto-wrapper.c:409:7: error: ‘OPT_fpie’ was not > declared in this scope > ../../gcc-4.8.1/gcc/lto-wrapper.c:410:7: error: ‘OPT_fcommon’ was not > declared in this scope > [..] > and more... > > Do I need newer binutils? i386 target compiles fine. > > Regards, > Hendrik Greving