This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.8.1 MIPS
- From: Hendrik Greving <hendrik dot greving dot intel at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 21 Jul 2013 10:24:37 -0700
- Subject: Re: GCC 4.8.1 MIPS
- References: <CANc4vhp-rqjRavk9N5UAAYowSF-ZT++0ta4p1sV2jNBQvGVAEw at mail dot gmail dot com>
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.intel@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